aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2023-02-24 09:50:59 +0000
committerGitHub <noreply@github.com>2023-02-24 09:50:59 +0000
commitc57af5d41cd039194dbd9c6fb5b68b377d2a5b59 (patch)
tree964cccb9f659a50b7bcb5194953b95b9682f4d14 /runtime/doc
parent306e67358377cd17bb20104ec4f8d27619937ad6 (diff)
downloadrneovim-c57af5d41cd039194dbd9c6fb5b68b377d2a5b59.tar.gz
rneovim-c57af5d41cd039194dbd9c6fb5b68b377d2a5b59.tar.bz2
rneovim-c57af5d41cd039194dbd9c6fb5b68b377d2a5b59.zip
feat(treesitter)!: remove silent option from language.add()
Simply use `pcall` if you want to silence an error.
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/treesitter.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt
index ccb3c445df..76cde91920 100644
--- a/runtime/doc/treesitter.txt
+++ b/runtime/doc/treesitter.txt
@@ -686,11 +686,6 @@ add({lang}, {opts}) *vim.treesitter.language.add()*
• path (string|nil) Optional path the parser is located at
• symbol_name (string|nil) Internal symbol name for the
language to load
- • silent (boolean|nil) Don't throw an error if language not
- found
-
- Return: ~
- (boolean) If the specified language is installed
get_lang({filetype}) *vim.treesitter.language.get_lang()*
Parameters: ~