diff options
author | watiko <service@mail.watiko.net> | 2016-01-15 21:04:06 +0900 |
---|---|---|
committer | watiko <service@mail.watiko.net> | 2016-02-01 03:47:09 +0900 |
commit | 8f212568aa5083a77b3617f2cef5b438f3d90e42 (patch) | |
tree | 3b0181cf8069fb4e94e1d5f8156cd8e1494d2a5d /src/nvim/ops.h | |
parent | 3a94e06abbcc0dfff658b626891ec308f7582180 (diff) | |
download | rneovim-8f212568aa5083a77b3617f2cef5b438f3d90e42.tar.gz rneovim-8f212568aa5083a77b3617f2cef5b438f3d90e42.tar.bz2 rneovim-8f212568aa5083a77b3617f2cef5b438f3d90e42.zip |
vim-patch:7.4.1087
Problem: CTRL-A and CTRL-X do not work properly with blockwise visual
selection if there is a mix of Tab and spaces.
Solution: Add OP_NR_ADD and OP_NR_SUB. (Hirohito Higashi)
https://github.com/vim/vim/commit/d79e55016cf8268cee935f1ac3b5b28712d1399e
Diffstat (limited to 'src/nvim/ops.h')
-rw-r--r-- | src/nvim/ops.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/ops.h b/src/nvim/ops.h index 507f933acf..81783232c5 100644 --- a/src/nvim/ops.h +++ b/src/nvim/ops.h @@ -66,6 +66,10 @@ typedef int (*Indenter)(void); #define OP_FOLDDELREC 25 /* "zD" delete folds recursively */ #define OP_FORMAT2 26 /* "gw" format operator, keeps cursor pos */ #define OP_FUNCTION 27 /* "g@" call 'operatorfunc' */ +#define OP_NR_ADD 28 // "<C-A>" Add to the number or alphabetic + // character (OP_ADD conflicts with Perl) +#define OP_NR_SUB 29 // "<C-X>" Subtract from the number or + // alphabetic character /// Flags for get_reg_contents(). enum GRegFlags { |