adding auto tag
This commit is contained in:
@ -18,6 +18,11 @@ M.plugins = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
["williamboman/mason"] = override.mason,
|
["williamboman/mason"] = override.mason,
|
||||||
|
["nvim-treesitter/nvim-treesitter"] = {
|
||||||
|
autotag = {
|
||||||
|
enable = true,
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
options = {
|
options = {
|
||||||
lspconfig = {
|
lspconfig = {
|
||||||
|
@ -7,5 +7,16 @@ return {
|
|||||||
require "plugins.configs.lspconfig"
|
require "plugins.configs.lspconfig"
|
||||||
require "custom.plugins.lspconfig"
|
require "custom.plugins.lspconfig"
|
||||||
end
|
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