refactor(nvim): move nvim-ts-autotag
to separate file
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m4s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m4s
This commit is contained in:
parent
a35bd70536
commit
56c2a1b3aa
@ -24,19 +24,6 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"nvim-treesitter/nvim-treesitter-context",
|
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
|
||||||
dependencies = {
|
|
||||||
"nvim-treesitter/nvim-treesitter",
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
require("treesitter-context").setup({
|
|
||||||
max_lines = 3,
|
|
||||||
})
|
|
||||||
vim.cmd.TSContextEnable()
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"windwp/nvim-ts-autotag",
|
"windwp/nvim-ts-autotag",
|
||||||
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
||||||
|
@ -0,0 +1,13 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"windwp/nvim-ts-autotag",
|
||||||
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
|
config = function()
|
||||||
|
require("nvim-ts-autotag").setup({
|
||||||
|
opts = {
|
||||||
|
enable_close_on_slash = true,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user