mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-03-28 10:24:47 +01:00
NVIM: Split opts and config for lazy plugins
This commit is contained in:
@@ -4,9 +4,16 @@ return {
|
||||
build = ":TSUpdate",
|
||||
dependencies = {
|
||||
-- automatically close html-tags
|
||||
"windwp/nvim-ts-autotag",
|
||||
-- color brackets
|
||||
-- 'p00f/nvim-ts-rainbow',
|
||||
{
|
||||
"windwp/nvim-ts-autotag",
|
||||
opts = {
|
||||
opts = {
|
||||
enable_close = true,
|
||||
enable_rename = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
-- 'p00f/nvim-ts-rainbow', -- color brackets
|
||||
"nvim-treesitter/nvim-treesitter-context",
|
||||
},
|
||||
config = function()
|
||||
@@ -24,11 +31,5 @@ return {
|
||||
"lua",
|
||||
"yaml",
|
||||
})
|
||||
require("nvim-ts-autotag").setup({
|
||||
opts = {
|
||||
enable_close = true,
|
||||
enable_rename = true,
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user