diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-01-18 14:46:10 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-18 07:46:10 +0100 |
| commit | 76c23d73751ab24126c7b486c6b1ff8e79540dbf (patch) | |
| tree | db59b2311bf945e7b3bc62ed852eeeef83984726 /lua/telescope/command.lua | |
| parent | 1ec682b29d49aeb7843d7eb58b1e45d84aac045f (diff) | |
feat: show a message for unknown command (#1698)
Diffstat (limited to 'lua/telescope/command.lua')
| -rw-r--r-- | lua/telescope/command.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/telescope/command.lua b/lua/telescope/command.lua index f75fdeb..38c7ff7 100644 --- a/lua/telescope/command.lua +++ b/lua/telescope/command.lua @@ -182,7 +182,10 @@ local function run_command(args) if rawget(extensions, cmd) then extensions[cmd][cmd](opts) + return end + + print "[Telescope] unknown command" end -- @Summary get extensions sub command |
