aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-01-31 17:28:32 +0100
committerGitHub <noreply@github.com>2023-01-31 17:28:32 +0100
commit8b11cf5092e0dfe45ee0f9cf0b72ce4ddeb8740c (patch)
treef2cfecae2fb79018137fe4f646c1f6da1a066d38 /runtime/doc
parentfacbb11e050186a13aa5451591f3c53b012f5566 (diff)
parentc032e83b22994332dd8769ef34cb817906a63cac (diff)
downloadrneovim-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.txt1
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