Skip to content

Commit

Permalink
vim/input is not supported execute()
Browse files Browse the repository at this point in the history
  • Loading branch information
notomo committed Aug 25, 2024
1 parent 8f07ed6 commit 04076b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/cmdbuf.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ CmdbufHandlerType *CmdbufHandlerType*
- "vim/cmd": |q:| alternative
- "vim/search/forward": |q/| alternative
- "vim/search/backward": |q?| alternative
- "vim/input": show input history
- "vim/input": show input history (not supported execute)
- "vim/env": environment variable
- "lua/cmd": |q:| alternative for lua command
- "lua/variable/buffer": buffer variable and command
Expand Down
1 change: 1 addition & 0 deletions lua/cmdbuf/handler/vim/input.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function M.delete_histories(_, lines)
end

function M.execute(_, _)
-- not supported
return nil
end

Expand Down
2 changes: 1 addition & 1 deletion lua/cmdbuf/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local M = {}
--- | '"vim/cmd"' # |q:| alternative
--- | '"vim/search/forward"' # |q/| alternative
--- | '"vim/search/backward"' # |q?| alternative
--- | '"vim/input"' # show input history
--- | '"vim/input"' # show input history (not supported execute)
--- | '"vim/env"' # environment variable
--- | '"lua/cmd"' # |q:| alternative for lua command
--- | '"lua/variable/buffer"' # buffer variable and command
Expand Down

0 comments on commit 04076b5

Please sign in to comment.