From eb8a3e0575d36ebfee1e401db0a064763cf684cd Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 18 Feb 2024 17:20:49 +0800 Subject: 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 --- src/nvim/generators/gen_options.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/generators') 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 = { -- cgit