15
lua/taken/plugins/treesitter.lua
Normal file
15
lua/taken/plugins/treesitter.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
local status, treesitter = pcall(require, "nvim-treesitter.configs")
|
||||
if not status then
|
||||
return
|
||||
end
|
||||
|
||||
treesitter.setup {
|
||||
ensure_installed = { "lua", "vim", "vimdoc", "javascript", "java", "json" },
|
||||
sync_install = false,
|
||||
auto_install = true,
|
||||
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user