From d2174f1d29086b51124d084f9402c5f9731f21bd Mon Sep 17 00:00:00 2001 From: patrick96 Date: Sat, 20 Nov 2021 22:34:11 +0100 Subject: Fix docs --- doc/nvim-treesitter.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index 323b8ab25..bf36fd74e 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -89,7 +89,7 @@ if you want to disable the module for some languages you can pass a list to the EOF < -For more fine-grained control, `disabled` can also take a function and +For more fine-grained control, `disable` can also take a function and whenever it returns `true`, the module is disabled for that buffer. The function is called once when a module starts in a buffer and receives the language and buffer number as arguments: -- cgit v1.2.3-70-g09d2