Files
nvim-config/lua/plugins/nvim-treesitter.lua
T
2024-02-17 00:07:41 -05:00

34 lines
956 B
Lua

return {
'nvim-treesitter/nvim-treesitter', -- Enhanced Syntax Parsing and Highlighting
dependencies = {
'nvim-tree/nvim-web-devicons', -- NERDFont icons for many plugins
},
config = function()
require('nvim-treesitter.configs').setup {
ensure_installed = {
"lua",
"rust",
"toml",
"python",
"javascript",
"typescript",
"html",
"css",
"json",
},
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting=false,
disable = { "markdown" },
},
indent = { enable = true },
rainbow = {
enable = true,
extended_mode = true,
max_file_lines = nil,
}
}
end
}