diff options
author | Daniel Hahler <git@thequod.de> | 2017-01-12 22:20:44 +0100 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2017-01-13 23:40:59 +0100 |
commit | a0b33b333ee46b87d62ab1a8d8d515e83fbbe635 (patch) | |
tree | 38348827c773a2372629cbdacd20bfffaf8982b2 /src/nvim/options.lua | |
parent | f68663542037aaa4ae954aacae7adf2e88b151d5 (diff) | |
download | rneovim-a0b33b333ee46b87d62ab1a8d8d515e83fbbe635.tar.gz rneovim-a0b33b333ee46b87d62ab1a8d8d515e83fbbe635.tar.bz2 rneovim-a0b33b333ee46b87d62ab1a8d8d515e83fbbe635.zip |
vim-patch:8.0.0121
Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler)
Solution: Add the P_RWINONLY flag. (closes vim/vim#1297)
https://github.com/vim/vim/commit/a2477fd3490c1166522631eee53c57d34321086a
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 70d1f73cf4..859658e40d 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -17,8 +17,8 @@ -- types: bool, number, string -- lists: (nil), comma, onecomma, flags, flagscomma -- scopes: global, buffer, window --- redraw options: statuslines, current_window, current_buffer, all_windows, --- everything, curswant +-- redraw options: statuslines, current_window, curent_window_only, +-- current_buffer, all_windows, everything, curswant -- default: {vi=…[, vim=…]} -- defaults: {condition=#if condition, if_true=default, if_false=default} -- #if condition: @@ -539,7 +539,7 @@ return { full_name='cursorline', abbreviation='cul', type='bool', scope={'window'}, vi_def=true, - redraw={'current_window'}, + redraw={'current_window_only'}, defaults={if_true={vi=false}} }, { |