17 lines
534 B
Lua
17 lines
534 B
Lua
return {
|
|
{
|
|
"joeveiga/ng.nvim",
|
|
enabled = true,
|
|
lazy = false,
|
|
config = function()
|
|
local ng = require("ng");
|
|
vim.keymap.set("n", "<leader>at", function()
|
|
ng.goto_template_for_component({ reuse_window = true })
|
|
end, { desc = "Go to template" })
|
|
vim.keymap.set("n", "<leader>ac", function()
|
|
ng.goto_component_with_template_file({ reuse_window = true })
|
|
end, { desc = "Go to component" })
|
|
end,
|
|
},
|
|
}
|