diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-04-10 19:14:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-10 19:14:29 +0800 |
commit | b531e4ea337e4ed86913d59777c5b6b15059a719 (patch) | |
tree | 25a3fefe4d50f84fd93476bc2b7fd876ad816c03 /src/nvim/vim.h | |
parent | ff726cc569994aab61a42c40270e679dc80cca7c (diff) | |
parent | 381f8f86da4bf5b24fb993eac281dffd2a2bcd1e (diff) | |
download | rneovim-b531e4ea337e4ed86913d59777c5b6b15059a719.tar.gz rneovim-b531e4ea337e4ed86913d59777c5b6b15059a719.tar.bz2 rneovim-b531e4ea337e4ed86913d59777c5b6b15059a719.zip |
Merge pull request #18062 from zeertzjq/vim-8.2.4723
vim-patch:8.2.{4723,4728}: the ModeChanged autocmd event is inefficient
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r-- | src/nvim/vim.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h index f65dd4f0d4..64333e9c3d 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -72,8 +72,6 @@ enum { NUMBUFLEN = 65, }; #define TERM_FOCUS 0x2000 // Terminal focus mode #define CMDPREVIEW 0x4000 // Showing 'inccommand' command "live" preview. -#define MODE_MAX_LENGTH 4 // max mode length returned in mode() - // all mode bits used for mapping #define MAP_ALL_MODES (0x3f | SELECTMODE | TERM_FOCUS) |