diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-01-31 17:28:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-31 17:28:32 +0100 |
| commit | 8b11cf5092e0dfe45ee0f9cf0b72ce4ddeb8740c (patch) | |
| tree | f2cfecae2fb79018137fe4f646c1f6da1a066d38 /runtime/doc | |
| parent | facbb11e050186a13aa5451591f3c53b012f5566 (diff) | |
| parent | c032e83b22994332dd8769ef34cb817906a63cac (diff) | |
| download | rneovim-8b11cf5092e0dfe45ee0f9cf0b72ce4ddeb8740c.tar.gz rneovim-8b11cf5092e0dfe45ee0f9cf0b72ce4ddeb8740c.tar.bz2 rneovim-8b11cf5092e0dfe45ee0f9cf0b72ce4ddeb8740c.zip | |
Merge pull request #22005 from clason/sanitize-lang
fix(treesitter): validate language name
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/treesitter.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/treesitter.txt b/runtime/doc/treesitter.txt index 917863eef8..9bfdc0b94e 100644 --- a/runtime/doc/treesitter.txt +++ b/runtime/doc/treesitter.txt @@ -684,6 +684,7 @@ require_language({lang}, {path}, {silent}, {symbol_name}) Parameters: ~ • {lang} (string) Language the parser should parse + (alphanumerical and `_` only) • {path} (string|nil) Optional path the parser is located at • {silent} (boolean|nil) Don't throw an error if language not found |