aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-04-04 19:07:33 +0200
committerGitHub <noreply@github.com>2023-04-04 19:07:33 +0200
commita5c572bd446a89be2dccb2f7479ff1b017074640 (patch)
tree0d3177a9566106820249daeb625f54042d01856b /test/functional
parentb75acd2f94feac5b55eaa219e7beb2af93f15cf0 (diff)
downloadrneovim-a5c572bd446a89be2dccb2f7479ff1b017074640.tar.gz
rneovim-a5c572bd446a89be2dccb2f7479ff1b017074640.tar.bz2
rneovim-a5c572bd446a89be2dccb2f7479ff1b017074640.zip
docs: fix typos
Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: C.D. MacEachern <craig.daniel.maceachern@gmail.com> Co-authored-by: himanoa <matsunoappy@gmail.com>
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/api/vim_spec.lua2
-rw-r--r--test/functional/plugin/lsp/semantic_tokens_spec.lua2
-rw-r--r--test/functional/plugin/lsp_spec.lua6
3 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/api/vim_spec.lua b/test/functional/api/vim_spec.lua
index 83347a499b..de0d82119c 100644
--- a/test/functional/api/vim_spec.lua
+++ b/test/functional/api/vim_spec.lua
@@ -4180,7 +4180,7 @@ describe('API', function()
meths.cmd({ cmd = "buffers", mods = { filter = { pattern = "foo", force = true } } },
{ output = true }))
- -- with emsg_silent = true error is suppresed
+ -- with emsg_silent = true error is suppressed
feed([[:lua vim.api.nvim_cmd({ cmd = 'call', mods = { emsg_silent = true } }, {})<CR>]])
eq('', meths.cmd({ cmd = 'messages' }, { output = true }))
-- error from the next command typed is not suppressed #21420
diff --git a/test/functional/plugin/lsp/semantic_tokens_spec.lua b/test/functional/plugin/lsp/semantic_tokens_spec.lua
index 780d18fce9..ec4d20974d 100644
--- a/test/functional/plugin/lsp/semantic_tokens_spec.lua
+++ b/test/functional/plugin/lsp/semantic_tokens_spec.lua
@@ -1367,7 +1367,7 @@ int main()
exec_lua([[
local text = ...
vim.api.nvim_buf_set_lines(bufnr, 0, -1, false, vim.fn.split(text, "\n"))
- vim.wait(15) -- wait fot debounce
+ vim.wait(15) -- wait for debounce
]], test.text2)
end
diff --git a/test/functional/plugin/lsp_spec.lua b/test/functional/plugin/lsp_spec.lua
index 3de4c6275e..7d287d38fa 100644
--- a/test/functional/plugin/lsp_spec.lua
+++ b/test/functional/plugin/lsp_spec.lua
@@ -3877,14 +3877,14 @@ describe('LSP', function()
local send_event
require('vim.lsp._watchfiles')._watchfunc = function(_, _, callback)
- local stoppped = false
+ local stopped = false
send_event = function(...)
- if not stoppped then
+ if not stopped then
callback(...)
end
end
return function()
- stoppped = true
+ stopped = true
end
end