1
0
neovim_config/lua/barink/plugins/treesitter.lua
nigel barink 6b6613aeea
Added additional plugins
- Added gitsigns.nvim
- Added Treesitter.nvim
- Added Undotree.nvim
- Added vimbegood.nvim
2024-09-23 10:37:41 +02:00

34 lines
1.0 KiB
Lua

return {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
dependencies = {
{
"nvim-treesitter/playground",
},
},
config = function()
require 'nvim-treesitter.install'.compilers = {'clang'}
local configs = require("nvim-treesitter.configs")
configs.setup({
playground = {
enable = true,
disable = {},
updatetime = 25,
keybindings = {
toggle_query_editor = 'o',
toggle_hl_groups = 'i',
update = 'R',
show_help = '?'
}
},
ensure_installed = { "python", "c", "lua", "vim", "vimdoc", "bash" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
end
},
}