17 lines
428 B
Lua
17 lines
428 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,
|
|
},
|
|
}
|