You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
580 B
25 lines
580 B
local ok, configs = pcall(require, "nvim-treesitter.configs") |
|
if not ok then |
|
return |
|
end |
|
|
|
configs.setup { |
|
ensure_installed = { |
|
"c", "cpp", "lua", "scheme", "vue", "javascript", "pug" |
|
}, |
|
sync_install = false, |
|
ignore_install = { "" }, |
|
autopairs = { |
|
enable = true, |
|
}, |
|
highlight = { |
|
enable = true, |
|
disable = { "" }, |
|
additional_vim_regex_highlighting = true, |
|
}, |
|
indent = { enable = true, disable = { "yaml" } }, |
|
context_commentstring = { |
|
enable = true, |
|
enable_autocmd = false, |
|
}, |
|
}
|
|
|