diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-07-31 09:51:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-30 21:51:26 -0400 |
commit | 5f01714b255d1c037abcb836b835096cf817adfd (patch) | |
tree | b92eaf569a18e18340f9e7f85334cfc7da23ecc7 /src/nvim/options.lua | |
parent | 15698eb5a1991790476febbd3b9f9b392e74f6b9 (diff) | |
download | rneovim-5f01714b255d1c037abcb836b835096cf817adfd.tar.gz rneovim-5f01714b255d1c037abcb836b835096cf817adfd.tar.bz2 rneovim-5f01714b255d1c037abcb836b835096cf817adfd.zip |
vim-patch:8.1.2019: 'cursorline' always highlights the whole line (#15161)
Problem: 'cursorline' always highlights the whole line.
Solution: Add 'cursorlineopt' to specify what is highlighted.
(closes vim/vim#4693)
https://github.com/vim/vim/commit/410e98a70bc00ea4bed51e55a8fe20e56a72c087
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 0830fb4638..7b8170094e 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -556,6 +556,13 @@ return { defaults={if_true={vi=false}} }, { + full_name='cursorlineopt', abbreviation='culopt', + short_desc=N_("settings for 'cursorline'"), + type='string', scope={'window'}, + redraw={'current_window_only'}, + defaults={if_true={vi="both"}} + }, + { full_name='debug', short_desc=N_("to \"msg\" to see all error messages"), type='string', scope={'global'}, |