aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/vim.h
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-11-15 00:10:39 +0100
committerJustin M. Keyes <justinkz@gmail.com>2016-11-15 04:22:24 +0100
commit3f7a2d785dcc8c3dad341669c83f29779987d9a4 (patch)
treeea4f1e8e75a81a01c0807c61721d93531251b695 /src/nvim/vim.h
parent708617ebb6aa9f078549646930c73f0755c2c2e6 (diff)
downloadrneovim-3f7a2d785dcc8c3dad341669c83f29779987d9a4.tar.gz
rneovim-3f7a2d785dcc8c3dad341669c83f29779987d9a4.tar.bz2
rneovim-3f7a2d785dcc8c3dad341669c83f29779987d9a4.zip
'inccommand': Introduce CMDPREVIEW state.
Command "live preview" is fundamentally a non-recursive concept ("preview of a preview" is not useful). Maintaining this as a global is less awkward and closer to what we actually want to express, vs adorning exarg_T, CommandLineState, etc.
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r--src/nvim/vim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h
index 6bbd9b58ef..32eba55c18 100644
--- a/src/nvim/vim.h
+++ b/src/nvim/vim.h
@@ -104,6 +104,7 @@ Error: configure did not run properly.Check auto/config.log.
#define CONFIRM 0x800 /* ":confirm" prompt */
#define SELECTMODE 0x1000 /* Select mode, only for mappings */
#define TERM_FOCUS 0x2000 // Terminal focus mode
+#define CMDPREVIEW 0x4000 // Showing 'inccommand' command "live" preview.
// all mode bits used for mapping
#define MAP_ALL_MODES (0x3f | SELECTMODE | TERM_FOCUS)