aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-07-30 10:49:42 +0800
committerzeertzjq <zeertzjq@outlook.com>2021-08-02 05:41:17 +0800
commit1666fe9dfe08201c92271b7a59fb2f96a20eb8db (patch)
tree4d1f9d0e574a13bf9e7c15a9ab2c30969713da2b /src/nvim/options.lua
parent337b1b31ac12ee4351668e32fe116282efd3dcc3 (diff)
downloadrneovim-1666fe9dfe08201c92271b7a59fb2f96a20eb8db.tar.gz
rneovim-1666fe9dfe08201c92271b7a59fb2f96a20eb8db.tar.bz2
rneovim-1666fe9dfe08201c92271b7a59fb2f96a20eb8db.zip
vim-patch:8.1.2029: cannot control 'cursorline' highlighting well
Problem: Cannot control 'cursorline' highlighting well. Solution: Add "screenline". (Christian Brabandt, closes vim/vim#4933) https://github.com/vim/vim/commit/017ba07fa2cdc578245618717229444fd50c470d
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua
index 7b8170094e..8a45cb69fa 100644
--- a/src/nvim/options.lua
+++ b/src/nvim/options.lua
@@ -558,7 +558,8 @@ return {
{
full_name='cursorlineopt', abbreviation='culopt',
short_desc=N_("settings for 'cursorline'"),
- type='string', scope={'window'},
+ type='string', list='onecomma', scope={'window'},
+ deny_duplicates=true,
redraw={'current_window_only'},
defaults={if_true={vi="both"}}
},