1
0
neovim_config/lua/barink/plugins/treesitter.lua
nigel barink 1bb7a56d5c
Bunch of updates to NVIM setup for Windows
Updated Settings
* Added new keymaps in keys.lua
* improved LSP setup

Plugins Removed
* codellama
* hardtime

Additional Plugins added
* Added edgy
* Added neo-tree
* Added todo-comments
* Added which-key
2024-07-15 21:58:28 +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 = { "c", "lua", "vim", "vimdoc", "bash" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
end
},
}