aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-02-15 03:15:47 +0300
committerZyX <kp-pav@yandex.ru>2017-02-15 03:15:47 +0300
commit095e6cc2e098db110981e5f9ea4bbc0ce316cecb (patch)
treeb56f1f74b3c4f227218548e0aec606eeff80a920 /src/nvim/getchar.c
parentefa2682e3b513c4a33d987dc651db5913feff21a (diff)
downloadrneovim-095e6cc2e098db110981e5f9ea4bbc0ce316cecb.tar.gz
rneovim-095e6cc2e098db110981e5f9ea4bbc0ce316cecb.tar.bz2
rneovim-095e6cc2e098db110981e5f9ea4bbc0ce316cecb.zip
*: Fix linter errors
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index ae890d46bc..0717978ead 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -3227,7 +3227,7 @@ showmap (
while (++len <= 3)
msg_putchar(' ');
- /* Display the LHS. Get length of what we write. */
+ // Display the LHS. Get length of what we write.
len = (size_t)msg_outtrans_special(mp->m_keys, true);
do {
msg_putchar(' '); /* padd with blanks */
@@ -3252,8 +3252,8 @@ showmap (
if (*mp->m_str == NUL) {
msg_puts_attr("<Nop>", hl_attr(HLF_8));
} else {
- /* Remove escaping of CSI, because "m_str" is in a format to be used
- * as typeahead. */
+ // Remove escaping of CSI, because "m_str" is in a format to be used
+ // as typeahead.
char_u *s = vim_strsave(mp->m_str);
vim_unescape_csi(s);
msg_outtrans_special(s, FALSE);