diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2022-04-09 11:50:54 +0200 |
|---|---|---|
| committer | Christian Clason <christian.clason@uni-due.de> | 2022-04-10 13:24:57 +0200 |
| commit | acd01551a3185118f58f0708b7fffdb2465e39f1 (patch) | |
| tree | b381d98f489c6381b3a505a23024794dc38fa1cb /doc | |
| parent | highlights(json): highlight ":" (diff) | |
| download | nvim-treesitter-acd01551a3185118f58f0708b7fffdb2465e39f1.tar nvim-treesitter-acd01551a3185118f58f0708b7fffdb2465e39f1.tar.gz nvim-treesitter-acd01551a3185118f58f0708b7fffdb2465e39f1.tar.bz2 nvim-treesitter-acd01551a3185118f58f0708b7fffdb2465e39f1.tar.lz nvim-treesitter-acd01551a3185118f58f0708b7fffdb2465e39f1.tar.xz nvim-treesitter-acd01551a3185118f58f0708b7fffdb2465e39f1.tar.zst nvim-treesitter-acd01551a3185118f58f0708b7fffdb2465e39f1.zip | |
chore!: deprecate ensure_installed=maintained
BREAKING CHANGE: specify explicit list or use `ensure_installed='all'`
(not recommended)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/nvim-treesitter.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index 7ffa43f2b..edb8579e8 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -39,13 +39,13 @@ To enable supported features, put this in your `init.lua` file: > require'nvim-treesitter.configs'.setup { - -- One of "all", "maintained" (parsers with maintainers), or a list of languages - ensure_installed = "maintained", + -- A list of parser names, or "all" + ensure_installed = { "c", "lua", "rust" }, - -- Install languages synchronously (only applied to `ensure_installed`) + -- Install parsers synchronously (only applied to `ensure_installed`) sync_install = false, - -- List of parsers to ignore installing + -- List of parsers to ignore installing (for "all") ignore_install = { "javascript" }, highlight = { |
