mirror of
https://gitlab.com/sagidayan/linux-config.git
synced 2024-11-14 11:45:25 +00:00
19 lines
614 B
Lua
19 lines
614 B
Lua
|
local ts_status_ok, treeconfig = pcall(require, "nvim-treesitter.configs")
|
||
|
if not ts_status_ok then
|
||
|
return
|
||
|
end
|
||
|
treeconfig.setup {
|
||
|
ensure_installed = "all",
|
||
|
sync_install = false,
|
||
|
ignore_install = { "" }, -- List of parsers to ignore installing
|
||
|
highlight = {
|
||
|
enable = true, -- false will disable the whole extension
|
||
|
disable = { "" }, -- list of language that will be disabled
|
||
|
additional_vim_regex_highlighting = true,
|
||
|
|
||
|
},
|
||
|
indent = { enable = true },
|
||
|
}
|
||
|
-- Coloschemes that support TreeSitter:
|
||
|
-- https://github.com/nvim-treesitter/nvim-treesitter/wiki/Colorschemes
|