2023-08-01 20:43:02 -03:00
|
|
|
return {
|
|
|
|
"mattn/emmet-vim",
|
|
|
|
config = function()
|
|
|
|
local autocmd = vim.api.nvim_create_autocmd
|
2024-01-12 16:59:29 -03:00
|
|
|
autocmd("FileType", { pattern = { "html", "css" }, command = [[EmmetInstall]] })
|
2023-08-01 20:43:02 -03:00
|
|
|
|
2024-01-06 18:34:56 -03:00
|
|
|
vim.keymap.set("n", "<leader>le", function()
|
2023-08-01 20:43:02 -03:00
|
|
|
vim.cmd(string.format("Emmet %s", vim.fn.input("Emmet: ")))
|
|
|
|
end)
|
2024-01-06 18:34:56 -03:00
|
|
|
end,
|
2023-08-01 20:43:02 -03:00
|
|
|
}
|