Files
neovim/runtime/doc
Yichao Zhou 7f990741f7 TUI: Reset cursor color when applicable #8572
Resets the TUI cursor color if:
- current 'guicursor' mode does not specify a highlight group
- cursor highlight group has "inverse" or "reverse" flag
- on Nvim exit

We interpret,  "inverse" to mean "default cursor".

Example:

    hi Cursor guifg=bg guibg=fg
    set termguicolors
    set guicursor=n-v-c-sm:block,i-ci-ve:ver25-Cursor,r-cr-o:hor20

    * When the cursor shape is block, its color will be "inverse"
    * When the cursor shape is I-beam, its color will be `hi Cursor`.

This is useful e.g. to prevent `set listchars=eol:¬` causing your cursor
color to a low contrast color in insert mode because you cursor are
often at EOL in insert mode.

close #8572
2018-09-22 03:07:21 +02:00
..
2017-11-07 01:33:46 +01:00
2018-06-11 00:08:27 +02:00
2018-06-11 00:08:27 +02:00
2018-06-28 00:48:17 +02:00
2017-11-07 01:04:17 +01:00
2017-11-07 01:33:46 +01:00
2017-11-07 23:07:03 +01:00
2017-11-07 23:07:03 +01:00
2017-11-07 23:07:03 +01:00
2017-11-07 01:04:17 +01:00
doc
2018-07-18 13:38:06 +02:00
2018-01-25 11:26:47 +01:00
2017-11-07 20:03:24 +01:00
2018-06-11 00:08:27 +02:00
2017-12-03 20:49:01 +01:00
2018-08-25 15:25:49 +02:00
2018-08-25 15:25:49 +02:00
2017-11-07 23:07:03 +01:00
2017-11-06 05:26:16 +01:00
2017-04-30 22:10:21 +02:00
2017-11-07 01:27:14 +01:00
2015-08-15 15:25:30 -03:00
2017-04-28 22:51:30 +02:00
2017-11-07 01:33:46 +01:00
doc
2018-06-12 09:18:25 +02:00
2017-11-07 03:14:31 +01:00
2017-11-06 05:26:16 +01:00
2017-11-07 23:07:03 +01:00
2017-11-07 23:07:03 +01:00
2018-06-28 00:48:17 +02:00
2017-11-06 05:35:32 +01:00
2017-11-07 02:57:50 +01:00
2017-11-07 20:03:24 +01:00
2017-11-07 03:16:34 +01:00
2017-11-07 23:07:03 +01:00
2017-04-11 00:33:09 +02:00
2017-11-07 03:16:34 +01:00
2017-05-01 12:30:54 +02:00
2017-11-07 01:27:14 +01:00
2017-11-07 20:16:48 +01:00