Mercurial > vim
comparison src/edit.c @ 28209:cbaac8434e4a v8.2.4630
patch 8.2.4630: 'cursorline' not always updated with 'culopt' is "screenline"
Commit: https://github.com/vim/vim/commit/bf269ed0b0bd8414eea7bea17465b2738a9a2b55
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 26 13:28:14 2022 +0000
patch 8.2.4630: 'cursorline' not always updated with 'culopt' is "screenline"
Problem: 'cursorline' not always updated with 'cursorlineopt' is
"screenline".
Solution: Call check_redraw_cursorline() more often. (closes #10013)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Mar 2022 14:30:03 +0100 |
parents | fb4c30606b4a |
children | c99005ffa8c3 |
comparison
equal
deleted
inserted
replaced
28208:92e7aeb97a55 | 28209:cbaac8434e4a |
---|---|
1056 break; | 1056 break; |
1057 | 1057 |
1058 case K_COMMAND: // <Cmd>command<CR> | 1058 case K_COMMAND: // <Cmd>command<CR> |
1059 case K_SCRIPT_COMMAND: // <ScriptCmd>command<CR> | 1059 case K_SCRIPT_COMMAND: // <ScriptCmd>command<CR> |
1060 do_cmdkey_command(c, 0); | 1060 do_cmdkey_command(c, 0); |
1061 #ifdef FEAT_SYN_HL | |
1062 // Might need to update for 'cursorline'. | |
1063 check_redraw_cursorline(); | |
1064 #endif | |
1061 #ifdef FEAT_TERMINAL | 1065 #ifdef FEAT_TERMINAL |
1062 if (term_use_loop()) | 1066 if (term_use_loop()) |
1063 // Started a terminal that gets the input, exit Insert mode. | 1067 // Started a terminal that gets the input, exit Insert mode. |
1064 goto doESCkey; | 1068 goto doESCkey; |
1065 #endif | 1069 #endif |