aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds_defs.h
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2014-12-23 12:44:09 +0100
committerFlorian Walch <florian@fwalch.com>2014-12-25 19:05:52 +0100
commit9854ba72769feb03ad06e5ea859c7c38db03a9d3 (patch)
treed7fcaf2b1ae56922333ce2ab839887cb3933c39b /src/nvim/ex_cmds_defs.h
parent7231a23cf651f8d950f53d4537e650085a41fb66 (diff)
downloadrneovim-9854ba72769feb03ad06e5ea859c7c38db03a9d3.tar.gz
rneovim-9854ba72769feb03ad06e5ea859c7c38db03a9d3.tar.bz2
rneovim-9854ba72769feb03ad06e5ea859c7c38db03a9d3.zip
vim-patch:7.4.486
Problem: Check for writing to a yank register is wrong. Solution: Negate the check. (Zyx). Also clean up the #ifdefs. https://code.google.com/p/vim/source/detail?r=v7-4-486
Diffstat (limited to 'src/nvim/ex_cmds_defs.h')
-rw-r--r--src/nvim/ex_cmds_defs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds_defs.h b/src/nvim/ex_cmds_defs.h
index abf7cc4587..0e13574321 100644
--- a/src/nvim/ex_cmds_defs.h
+++ b/src/nvim/ex_cmds_defs.h
@@ -88,8 +88,6 @@ typedef struct cmdname {
long_u cmd_argt; ///< Relevant flags from the declared above.
} CommandDefinition;
-#define USER_CMDIDX(idx) ((int)(idx) < 0)
-
/// Arguments used for Ex commands.
struct exarg {
char_u *arg; ///< argument of the command