aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/generators/gen_options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-02-18 17:20:49 +0800
committerGitHub <noreply@github.com>2024-02-18 17:20:49 +0800
commiteb8a3e0575d36ebfee1e401db0a064763cf684cd (patch)
tree81fa6b919f050563a33e592eea40de0223f3e994 /src/nvim/generators/gen_options.lua
parentb12d193b4a68242fb0c7e4f924c8abce3488e1c8 (diff)
downloadrneovim-eb8a3e0575d36ebfee1e401db0a064763cf684cd.tar.gz
rneovim-eb8a3e0575d36ebfee1e401db0a064763cf684cd.tar.bz2
rneovim-eb8a3e0575d36ebfee1e401db0a064763cf684cd.zip
vim-patch:9.1.0114: Setting some options may change curswant (#27514)
Problem: Setting some options changes curswant unnecessarily. Solution: Add a P_HLONLY flag that prevents changing curswant. (zeertzjq) closes: vim/vim#14044 https://github.com/vim/vim/commit/fcaed6a70faf73bff3e5405ada556d726024f866
Diffstat (limited to 'src/nvim/generators/gen_options.lua')
-rw-r--r--src/nvim/generators/gen_options.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/generators/gen_options.lua b/src/nvim/generators/gen_options.lua
index cdb77c4a0c..749844e658 100644
--- a/src/nvim/generators/gen_options.lua
+++ b/src/nvim/generators/gen_options.lua
@@ -20,10 +20,10 @@ local redraw_flags = {
tabline = 'P_RTABL',
statuslines = 'P_RSTAT',
current_window = 'P_RWIN',
- current_window_only = 'P_RWINONLY',
current_buffer = 'P_RBUF',
all_windows = 'P_RALL',
curswant = 'P_CURSWANT',
+ highlight_only = 'P_HLONLY',
}
local list_flags = {