summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-09-27 12:13:11 +0200
committerStephan Seitz <stephan.lauf@yahoo.de>2020-10-26 12:42:10 +0100
commitc3b526fe51d6f4dd1dda099d69258909d0abb531 (patch)
treeba5a24810910a298ec632f6d0fbe9cdde6cb3d73 /doc
parent04ff77442ac6fc808724df86641e8ee07d30379d (diff)
feat(install): add "maintained" option to only install maintained parsers
Unmaintained parsers only give users little benefit but take sometimes a a long time to install (e.g. Markdown, Julia, Haskell parser). We could recommend to only install maintained parsers by default.
Diffstat (limited to 'doc')
-rw-r--r--doc/nvim-treesitter.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt
index c8b78964..7cdc38c9 100644
--- a/doc/nvim-treesitter.txt
+++ b/doc/nvim-treesitter.txt
@@ -36,7 +36,7 @@ To enable supported features, put this in your `init.vim` file:
>
lua <<EOF
require'nvim-treesitter.configs'.setup {
- ensure_installed = "all", -- one of "all", "language", or a list of languages
+ ensure_installed = "maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
highlight = {
enable = true, -- false will disable the whole extension
disable = { "c", "rust" }, -- list of language that will be disabled