From 1666fe9dfe08201c92271b7a59fb2f96a20eb8db Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 30 Jul 2021 10:49:42 +0800 Subject: 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 --- src/nvim/options.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/nvim/options.lua') 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"}} }, -- cgit