aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2017-01-12 22:20:44 +0100
committerDaniel Hahler <git@thequod.de>2017-01-13 23:40:59 +0100
commita0b33b333ee46b87d62ab1a8d8d515e83fbbe635 (patch)
tree38348827c773a2372629cbdacd20bfffaf8982b2 /src/nvim/options.lua
parentf68663542037aaa4ae954aacae7adf2e88b151d5 (diff)
downloadrneovim-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.lua6
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}}
},
{