feat: sync install for ensure_installed

This commit is contained in:
Sirisak Lueangsaksri 2021-11-06 00:50:28 +07:00 committed by Stephan Seitz
parent 83efae51bf
commit aaf157a6a9
3 changed files with 8 additions and 1 deletions

View file

@ -107,6 +107,7 @@ All modules are disabled by default and need to be activated explicitly in your
lua <<EOF
require'nvim-treesitter.configs'.setup {
ensure_installed = "maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
sync_install = true, -- install languages synchronously
ignore_install = { "javascript" }, -- List of parsers to ignore installing
highlight = {
enable = true, -- false will disable the whole extension