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>
This commit is contained in:
dundargoc
2022-06-15 02:49:54 +02:00
committed by GitHub
parent 8ba64dd3ad
commit 6de7f32d52
10 changed files with 14 additions and 19 deletions

View File

@@ -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