aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/buf.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-06-15 02:49:54 +0200
committerGitHub <noreply@github.com>2022-06-15 08:49:54 +0800
commit6de7f32d52822c3c09d24720efc65efe97a6e698 (patch)
treeb8f22be2faf350e2f3fa34068f1453ef279a00d0 /runtime/lua/vim/lsp/buf.lua
parent8ba64dd3ad1822efd6f986349e99f5f85afd7be7 (diff)
downloadrneovim-6de7f32d52822c3c09d24720efc65efe97a6e698.tar.gz
rneovim-6de7f32d52822c3c09d24720efc65efe97a6e698.tar.bz2
rneovim-6de7f32d52822c3c09d24720efc65efe97a6e698.zip
docs: fix typos (#18866)
docs: fix typos and similarly insignificant changes Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: smjonas <jonas.strittmatter@gmx.de> Co-authored-by: kanreki <32443233+kanreki@users.noreply.github.com>
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
-rw-r--r--runtime/lua/vim/lsp/buf.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/buf.lua b/runtime/lua/vim/lsp/buf.lua
index fa8ee23805..97c30bc46a 100644
--- a/runtime/lua/vim/lsp/buf.lua
+++ b/runtime/lua/vim/lsp/buf.lua
@@ -708,7 +708,7 @@ local function on_code_action_results(results, ctx, options)
end
local found = false
for _, o in ipairs(options.context.only) do
- -- action kinds are hierachical with . as a separator: when requesting only
+ -- action kinds are hierarchical with . as a separator: when requesting only
-- 'quickfix' this filter allows both 'quickfix' and 'quickfix.foo', for example
if a.kind:find('^' .. o .. '$') or a.kind:find('^' .. o .. '%.') then
found = true