adding auto tag
This commit is contained in:
@ -18,6 +18,11 @@ M.plugins = {
|
||||
},
|
||||
},
|
||||
["williamboman/mason"] = override.mason,
|
||||
["nvim-treesitter/nvim-treesitter"] = {
|
||||
autotag = {
|
||||
enable = true,
|
||||
}
|
||||
}
|
||||
},
|
||||
options = {
|
||||
lspconfig = {
|
||||
|
@ -7,5 +7,16 @@ return {
|
||||
require "plugins.configs.lspconfig"
|
||||
require "custom.plugins.lspconfig"
|
||||
end
|
||||
},
|
||||
["windwp/nvim-ts-autotag"] = {
|
||||
ft = { "html", "javascriptreact", "typescriptreact"},
|
||||
after = "nvim-treesitter",
|
||||
config = function()
|
||||
local present, autotag = pcall(require, "nvim-ts-autotag")
|
||||
|
||||
if present then
|
||||
autotag.setup()
|
||||
end
|
||||
end
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user