Skip to content

Commit 5dc9563

Browse files
committed
style: run bin/format
1 parent 75e7304 commit 5dc9563

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lua/wincent/commandt/init.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)