0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

Add the 'c' flag to 'concealcursor'.

This commit is contained in:
Bram Moolenaar
2010-07-24 15:00:38 +02:00
parent f691b84fba
commit ca8c9867c2
6 changed files with 17 additions and 9 deletions

View File

@@ -605,6 +605,8 @@ conceal_cursor_line(wp)
c = 'i';
else if (State & NORMAL)
c = 'n';
else if (State & CMDLINE)
c = 'c';
else
return FALSE;
return vim_strchr(wp->w_p_cocu, c) != NULL;