diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2021-02-07 15:23:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 15:23:41 +0100 |
commit | a7d9df996dc1c353574845563216dc0372dd8b77 (patch) | |
tree | f46d145223eda6427bfa0be66a78e308b7527dc9 /runtime/lua/vim/treesitter/language.lua | |
parent | b894fbcbe8a0a518753bd47cdc2bb621bf1389d8 (diff) | |
parent | 947f9a04d45f36dca86ab98d22a9d3e3eaf6fd86 (diff) | |
download | rneovim-a7d9df996dc1c353574845563216dc0372dd8b77.tar.gz rneovim-a7d9df996dc1c353574845563216dc0372dd8b77.tar.bz2 rneovim-a7d9df996dc1c353574845563216dc0372dd8b77.zip |
Merge pull request #13894 from stsewd/ts-small-fixes
treesitter: small fixes
Diffstat (limited to 'runtime/lua/vim/treesitter/language.lua')
-rw-r--r-- | runtime/lua/vim/treesitter/language.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/treesitter/language.lua b/runtime/lua/vim/treesitter/language.lua index d60cd2d0c7..eed28e0e41 100644 --- a/runtime/lua/vim/treesitter/language.lua +++ b/runtime/lua/vim/treesitter/language.lua @@ -2,12 +2,12 @@ local a = vim.api local M = {} ---- Asserts that the provided language is installed, and optionnaly provide a path for the parser +--- Asserts that the provided language is installed, and optionally provide a path for the parser -- -- Parsers are searched in the `parser` runtime directory. -- -- @param lang The language the parser should parse --- @param path Optionnal path the parser is located at +-- @param path Optional path the parser is located at -- @param silent Don't throw an error if language not found function M.require_language(lang, path, silent) if vim._ts_has_language(lang) then |