feat(install): allow ignore list when installing parsers (#1098)

This commit is contained in:
Steven Sojka 2021-03-24 09:12:03 -05:00 committed by GitHub
parent 09045354c0
commit 7984975a2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 53 additions and 7 deletions

View file

@ -37,6 +37,7 @@ To enable supported features, put this in your `init.vim` file:
lua <<EOF
require'nvim-treesitter.configs'.setup {
ensure_installed = "maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
ignore_install = { "javascript" }, -- List of parsers to ignore installing
highlight = {
enable = true, -- false will disable the whole extension
disable = { "c", "rust" }, -- list of language that will be disabled