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

fcaed6a70f
This commit is contained in:
zeertzjq
2024-02-18 17:20:49 +08:00
committed by GitHub
parent b12d193b4a
commit eb8a3e0575
5 changed files with 32 additions and 25 deletions

View File

@@ -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 = {