diff options
author | ZyX <kp-pav@yandex.ru> | 2017-01-30 00:34:33 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-03-27 00:18:52 +0300 |
commit | 73d37f8b6e9eba0d2f2c59694ae5a13777a7f1cd (patch) | |
tree | fcbdae356d647621092eabf566f3a0618f0052e2 /src/nvim/message.c | |
parent | 9fd2bf67aa1db66e3465753d5aaaec342f4ce193 (diff) | |
download | rneovim-73d37f8b6e9eba0d2f2c59694ae5a13777a7f1cd.tar.gz rneovim-73d37f8b6e9eba0d2f2c59694ae5a13777a7f1cd.tar.bz2 rneovim-73d37f8b6e9eba0d2f2c59694ae5a13777a7f1cd.zip |
executor: Add :lua debug.debug mock
Diffstat (limited to 'src/nvim/message.c')
-rw-r--r-- | src/nvim/message.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index bf54284881..4b786c11dd 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -1564,7 +1564,6 @@ void msg_puts_attr(const char *const s, const int attr) /// Like msg_puts_attr(), but with a maximum length "maxlen" (in bytes). /// When "maxlen" is -1 there is no maximum length. -/// When "maxlen" is >= 0 the message is not put in the history. void msg_puts_attr_len(const char *str, const ptrdiff_t maxlen, int attr) { // If redirection is on, also write to the redirection file. @@ -1576,7 +1575,7 @@ void msg_puts_attr_len(const char *str, const ptrdiff_t maxlen, int attr) } // if MSG_HIST flag set, add message to history - if ((attr & MSG_HIST) && maxlen < 0) { + if (attr & MSG_HIST) { add_msg_hist(str, -1, attr); attr &= ~MSG_HIST; } |