1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-12 12:31:15 +02:00

nvim: split plugins into multiple files

This commit is contained in:
2023-09-28 06:18:15 +02:00
parent 1a80dedbb6
commit 0c9a6f387b
33 changed files with 723 additions and 665 deletions

View File

@@ -0,0 +1,36 @@
return {
-- better language highlighting by improved parsing
{
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
dependencies = {
-- automatically close html-tags
'windwp/nvim-ts-autotag',
-- color brackets
'p00f/nvim-ts-rainbow',
},
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = {
"bash",
"css",
"html",
"markdown",
"markdown_inline",
"latex",
"python",
"lua",
},
highlight = { enable = true },
autotag = { enable = true },
rainbow = {
enable = true,
extended_mode = true,
max_file_lines = nil,
-- colors = {},
-- termcolors = {}
}
})
end
}
}