diff options
author | Dundar Göc <gocdundar@gmail.com> | 2021-10-06 11:42:33 +0200 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2021-10-06 11:50:10 +0200 |
commit | 41d3b98debb3c90306f301dad185a6b487fa4002 (patch) | |
tree | afee36a9e2b52df35ae53ba37633731e88573245 /src/nvim/screen.c | |
parent | e8f87f15d735937f4b548ad40fb8dbaf741f6d0a (diff) | |
download | rneovim-41d3b98debb3c90306f301dad185a6b487fa4002.tar.gz rneovim-41d3b98debb3c90306f301dad185a6b487fa4002.tar.bz2 rneovim-41d3b98debb3c90306f301dad185a6b487fa4002.zip |
vim-patch:8.1.2394: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
https://github.com/vim/vim/commit/63d9e730f726341bf41ee4f4b829253cb9879110
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index fcd8fb1118..a1d03b363d 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -5164,8 +5164,8 @@ void win_redr_status_matches(expand_T *xp, int num_matches, char_u **matches, in if (row >= 0) { if (wild_menu_showing == 0 || wild_menu_showing == WM_LIST) { if (msg_scrolled > 0) { - /* Put the wildmenu just above the command line. If there is - * no room, scroll the screen one line up. */ + // Put the wildmenu just above the command line. If there is + // no room, scroll the screen one line up. if (cmdline_row == Rows - 1) { msg_scroll_up(false); msg_scrolled++; @@ -7032,8 +7032,8 @@ int showmode(void) if (VIsual_active) { char *p; - /* Don't concatenate separate words to avoid translation - * problems. */ + // Don't concatenate separate words to avoid translation + // problems. switch ((VIsual_select ? 4 : 0) + (VIsual_mode == Ctrl_V) * 2 + (VIsual_mode == 'V')) { |