aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-02-23 20:30:36 +0100
committerStephan Seitz <stephan.seitz@fau.de>2023-02-23 11:39:43 -0800
commit4612212c72a3fe683cbca2f99977ad63b942f70e (patch)
tree8384922fae6da89dd8af055711c6e1c45e155d20 /lua
parentUpdate parsers: c, capnp, cpp, cuda, hlsl, javascript, rust, smali (diff)
downloadnvim-treesitter-4612212c72a3fe683cbca2f99977ad63b942f70e.tar
nvim-treesitter-4612212c72a3fe683cbca2f99977ad63b942f70e.tar.gz
nvim-treesitter-4612212c72a3fe683cbca2f99977ad63b942f70e.tar.bz2
nvim-treesitter-4612212c72a3fe683cbca2f99977ad63b942f70e.tar.lz
nvim-treesitter-4612212c72a3fe683cbca2f99977ad63b942f70e.tar.xz
nvim-treesitter-4612212c72a3fe683cbca2f99977ad63b942f70e.tar.zst
nvim-treesitter-4612212c72a3fe683cbca2f99977ad63b942f70e.zip
docs: fix typos
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/utils.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/nvim-treesitter/utils.lua b/lua/nvim-treesitter/utils.lua
index c738ee56e..9338be874 100644
--- a/lua/nvim-treesitter/utils.lua
+++ b/lua/nvim-treesitter/utils.lua
@@ -10,7 +10,7 @@ function M.notify(msg, log_level, opts)
vim.notify(msg, log_level, vim.tbl_extend("force", default_opts, opts or {}))
end
--- Returns the system specific path seperator.
+-- Returns the system specific path separator.
---@return string
function M.get_path_sep()
return (fn.has "win32" == 1 and not vim.opt.shellslash:get()) and "\\" or "/"
@@ -37,7 +37,7 @@ M.join_space = M.generate_join " "
--- - A table with name 'commands' should be defined in 'mod' which needs to be passed as
--- the commands param of this function
---
----@param mod string, Name of the module that resides in the heirarchy - nvim-treesitter.module
+---@param mod string, Name of the module that resides in the hierarchy - nvim-treesitter.module
---@param commands table, Command list for the module
--- - {command_name} Name of the vim user defined command, Keys:
--- - {run}: (function) callback function that needs to be executed