File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ local default_options = {
400400 candidates = function (_directory , _options )
401401 -- Maybe Neovim will support builtins here too one day, but it doesn't
402402 -- yet.
403- local commands = keys (vim .api .nvim_get_commands ({builtin = false }))
403+ local commands = keys (vim .api .nvim_get_commands ({ builtin = false }))
404404
405405 -- For now, read builtins from `:help ex-cmd-index`.
406406 local ex_cmd_index = vim .fn .expand (vim .fn .findfile (' doc/index.txt' , vim .o .runtimepath ))
@@ -415,12 +415,11 @@ local default_options = {
415415 -- (continues for 100s of lines...)
416416 --
417417 for line in io.lines (ex_cmd_index ) do
418- local command = line :match (" ^|:([^|]+)|%s+" )
418+ local command = line :match (' ^|:([^|]+)|%s+' )
419419 if command then
420420 table.insert (commands , command )
421421 end
422422 end
423-
424423 end
425424 return commands
426425 end ,
You can’t perform that action at this time.
0 commit comments