feat: table layout for builtin commands (#754)
This commit is contained in:
@@ -159,14 +159,8 @@ internal.commands = function(opts)
|
||||
|
||||
return commands
|
||||
end)(),
|
||||
entry_maker = function(line)
|
||||
return {
|
||||
valid = line ~= "",
|
||||
value = line,
|
||||
ordinal = line.name,
|
||||
display = line.name
|
||||
}
|
||||
end
|
||||
|
||||
entry_maker = opts.entry_maker or make_entry.gen_from_commands(opts),
|
||||
},
|
||||
sorter = conf.generic_sorter(opts),
|
||||
attach_mappings = function(prompt_bufnr)
|
||||
|
||||
Reference in New Issue
Block a user