mirror of https://github.com/tiyn/dotfiles
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
830 B
37 lines
830 B
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
|
|
}
|
|
}
|