From d3901e583389ef0c356203f056bad37ec81a888c Mon Sep 17 00:00:00 2001 From: echasnovski Date: Sun, 31 Jan 2021 13:10:52 +0200 Subject: [PATCH] Update documentation for `Enable/Disable` commands. --- doc/nvim-treesitter.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index 0ee9da127..0f3c879af 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -228,7 +228,7 @@ A list of modules can be found at |:TSModuleInfo| *:TSBufDisable* :TSBufDisable {module}~ -Disable {module} on the current buffer +Disable {module} on the current buffer. A list of modules can be found at |:TSModuleInfo| *:TSBufToggle* @@ -238,20 +238,20 @@ Toggle (enable if disabled, disable if enabled) {module} on the current buffer. A list of modules can be found at |:TSModuleInfo| - *:TSBufEnableAll* -:TSBufEnableAll {module} [{language}]~ + *:TSEnableAll* +:TSEnableAll {module} [{language}]~ -Enable {module} for the session -if {language} is specified, enable module for the session only for this +Enable {module} for the session. +If {language} is specified, enable module for the session only for this particular language. A list of modules can be found at |:TSModuleInfo| A list of languages can be found at |:TSInstallInfo| - *:TSBufDisableAll* -:TSBufDisableAll {module} [{language}]~ + *:TSDisableAll* +:TSDisableAll {module} [{language}]~ -Disable {module} for the session -if {language} is specified, disable module for the session only for this +Disable {module} for the session. +If {language} is specified, disable module for the session only for this particular language. A list of modules can be found at |:TSModuleInfo| A list of languages can be found at |:TSInstallInfo|