dotfiles/nvim/lua/plugins/treesitter.lua
Joshua Finch dab3447bad feat: Adding new additions of:
- autopairs (trying again and kind of liking it)
- render-markdown to render markdown in editor
- twilight for dimming other lines
- nvim-biscuits

Changes to the zshrc settings to add location, color settings
environment variables, some keybindings, universal aliases for
coloration, etc.

Adding a loader.enable to the start of init.lua for faster load times
(need to benchmark this but it feels faster).
2025-07-20 14:53:21 -05:00

49 lines
1.2 KiB
Lua

return {
'nvim-treesitter/nvim-treesitter',
build = function()
require('nvim-treesitter.install').update({ with_sync = true })
end,
config = function()
require('nvim-treesitter.configs').setup {
auto_install = true,
ensure_installed = {
'c',
'c_sharp',
'comment',
'css',
'gdscript',
'gitignore',
'html',
'java',
'javascript',
'json',
'lua',
'markdown',
'markdown_inline',
'python',
'query',
'rust',
'sql',
'tera',
'toml',
'tsx',
'typescript',
'yaml',
},
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
incremental_selection = {
enable = true,
},
indent = {
enable = true,
},
rainbow = {
enable = true,
}
}
end,
}