Dotfiles/.config/nvim/lua/plugins/treesitter.lua

33 lines
613 B
Lua
Raw Normal View History

2024-03-04 14:36:33 +00:00
return {
"nvim-treesitter/nvim-treesitter",
2024-06-05 17:44:12 +00:00
build = ":TSUpdate",
2024-03-11 10:50:14 +00:00
config = function()
require'nvim-treesitter.configs'.setup({
sync_install = false,
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
endwise = {
enable = true,
},
ensure_installed = {
"ruby",
"javascript",
"json",
"html",
"bash",
"css",
"go",
"dockerfile",
"lua",
"gitignore",
"yaml",
2024-08-14 12:31:08 +00:00
"embedded_template",
2024-03-11 10:50:14 +00:00
}
})
end
2024-03-04 14:36:33 +00:00
}