diff options
author | Famiu Haque <famiuhaque@protonmail.com> | 2022-04-20 17:02:18 +0600 |
---|---|---|
committer | Famiu Haque <famiuhaque@protonmail.com> | 2022-05-31 20:55:05 +0600 |
commit | 46536f53e82967dcac8d030ee3394cdb156f9603 (patch) | |
tree | 4444067831639a6a1eb1916ca9cd5002261932ec /src/nvim/vim.h | |
parent | e9803e1de6497ee21f77f45cf2670c2fe4e8ab22 (diff) | |
download | rneovim-46536f53e82967dcac8d030ee3394cdb156f9603.tar.gz rneovim-46536f53e82967dcac8d030ee3394cdb156f9603.tar.bz2 rneovim-46536f53e82967dcac8d030ee3394cdb156f9603.zip |
feat: add preview functionality to user commands
Adds a Lua-only `preview` flag to user commands which allows the command to be incrementally previewed like `:substitute` when 'inccommand' is set.
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r-- | src/nvim/vim.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 7e82af2d93..31ac5a67ff 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -70,7 +70,6 @@ enum { NUMBUFLEN = 65, }; #define MODE_EXTERNCMD 0x5000 // executing an external command #define MODE_SHOWMATCH (0x6000 | MODE_INSERT) // show matching paren #define MODE_CONFIRM 0x7000 // ":confirm" prompt -#define MODE_CMDPREVIEW 0x8000 // Showing 'inccommand' command "live" preview. /// Directions. typedef enum { |