Move ts-autotag to be a dependency of treesitter instead of having its own file
This commit is contained in:
parent
d2993523c2
commit
131a329a50
|
|
@ -1,13 +0,0 @@
|
|||
return {
|
||||
'windwp/nvim-ts-autotag',
|
||||
-- event = { 'BufReadPre', 'BufNewFile' },
|
||||
-- opts = {
|
||||
-- Defaults
|
||||
-- enable_close = true, -- Auto close tags
|
||||
-- enable_rename = true, -- Auto rename pairs of tags
|
||||
-- enable_close_on_slash = false, -- Auto close on trailing </
|
||||
-- },
|
||||
config = function(_, opts)
|
||||
require('nvim-ts-autotag').setup(opts)
|
||||
end,
|
||||
}
|
||||
|
|
@ -4,7 +4,14 @@ return {
|
|||
lazy = false,
|
||||
branch = 'main',
|
||||
build = ':TSUpdate',
|
||||
opts = {},
|
||||
dependencies = {
|
||||
'windwp/nvim-ts-autotag',
|
||||
},
|
||||
opts = {
|
||||
autotag = {
|
||||
enable = true,
|
||||
},
|
||||
},
|
||||
-- main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
||||
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
|
||||
config = function(_, opts)
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ require('lazy').setup({
|
|||
require 'custom/plugins/theme',
|
||||
require 'custom/plugins/indent-blankline',
|
||||
-- require 'custom/plugins/leetcode',
|
||||
require 'custom/plugins/ts-tag-autoclose',
|
||||
}, {
|
||||
ui = {
|
||||
-- If you are using a Nerd Font: set icons to an empty table which will use the
|
||||
|
|
|
|||
Loading…
Reference in New Issue