nvim/lua/custom/plugins/emmet.lua

12 lines
332 B
Lua
Raw Normal View History

return {
"mattn/emmet-vim",
config = function()
local autocmd = vim.api.nvim_create_autocmd
2024-04-18 16:21:39 -03:00
autocmd("FileType", { pattern = { "html", "css", "vue", "js" }, command = [[EmmetInstall]] })
2024-01-06 18:34:56 -03:00
vim.keymap.set("n", "<leader>le", function()
vim.cmd(string.format("Emmet %s", vim.fn.input("Emmet: ")))
end)
2024-01-06 18:34:56 -03:00
end,
}