diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2023-02-24 09:50:59 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-24 09:50:59 +0000 |
| commit | c57af5d41cd039194dbd9c6fb5b68b377d2a5b59 (patch) | |
| tree | 964cccb9f659a50b7bcb5194953b95b9682f4d14 /runtime/doc | |
| parent | 306e67358377cd17bb20104ec4f8d27619937ad6 (diff) | |
| download | rneovim-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.txt | 5 |
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: ~ |