diff options
author | Santos Gallegos <stsewd@protonmail.com> | 2021-02-07 01:10:37 -0500 |
---|---|---|
committer | Santos Gallegos <stsewd@protonmail.com> | 2021-02-07 01:27:38 -0500 |
commit | 947f9a04d45f36dca86ab98d22a9d3e3eaf6fd86 (patch) | |
tree | f46d145223eda6427bfa0be66a78e308b7527dc9 /runtime/lua/vim/treesitter/language.lua | |
parent | b894fbcbe8a0a518753bd47cdc2bb621bf1389d8 (diff) | |
download | rneovim-947f9a04d45f36dca86ab98d22a9d3e3eaf6fd86.tar.gz rneovim-947f9a04d45f36dca86ab98d22a9d3e3eaf6fd86.tar.bz2 rneovim-947f9a04d45f36dca86ab98d22a9d3e3eaf6fd86.zip |
treesitter: small fixes
Mostly typos I found while reading the code.
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 |