comparison src/vim.h @ 28399:d395fadbaf67 v8.2.4724

patch 8.2.4724: current instance of last search pattern not easily spotted Commit: https://github.com/vim/vim/commit/a43993897aa372159f682df37562f159994dc85c Author: LemonBoy <thatlemon@gmail.com> Date: Sat Apr 9 21:04:08 2022 +0100 patch 8.2.4724: current instance of last search pattern not easily spotted Problem: Current instance of last search pattern not easily spotted. Solution: Add CurSearch highlighting. (closes https://github.com/vim/vim/issues/10133)
author Bram Moolenaar <Bram@vim.org>
date Sat, 09 Apr 2022 22:15:03 +0200
parents e466fdbe0699
children 2655935b5ccc
comparison
equal deleted inserted replaced
28398:8b474e8eff92 28399:d395fadbaf67
1408 , HLF_D // directories in CTRL-D listing 1408 , HLF_D // directories in CTRL-D listing
1409 , HLF_E // error messages 1409 , HLF_E // error messages
1410 , HLF_H // obsolete, ignored 1410 , HLF_H // obsolete, ignored
1411 , HLF_I // incremental search 1411 , HLF_I // incremental search
1412 , HLF_L // last search string 1412 , HLF_L // last search string
1413 , HLF_LC // last search string under cursor
1413 , HLF_M // "--More--" message 1414 , HLF_M // "--More--" message
1414 , HLF_CM // Mode (e.g., "-- INSERT --") 1415 , HLF_CM // Mode (e.g., "-- INSERT --")
1415 , HLF_N // line number for ":number" and ":#" commands 1416 , HLF_N // line number for ":number" and ":#" commands
1416 , HLF_LNA // LineNrAbove 1417 , HLF_LNA // LineNrAbove
1417 , HLF_LNB // LineNrBelow 1418 , HLF_LNB // LineNrBelow
1455 , HLF_COUNT // MUST be the last one 1456 , HLF_COUNT // MUST be the last one
1456 } hlf_T; 1457 } hlf_T;
1457 1458
1458 // The HL_FLAGS must be in the same order as the HLF_ enums! 1459 // The HL_FLAGS must be in the same order as the HLF_ enums!
1459 // When changing this also adjust the default for 'highlight'. 1460 // When changing this also adjust the default for 'highlight'.
1460 #define HL_FLAGS {'8', '~', '@', 'd', 'e', 'h', 'i', 'l', 'm', 'M', \ 1461 #define HL_FLAGS {'8', '~', '@', 'd', 'e', 'h', 'i', 'l', 'y', 'm', 'M', \
1461 'n', 'a', 'b', 'N', 'G', 'O', 'r', 's', 'S', 'c', 't', 'v', 'V', \ 1462 'n', 'a', 'b', 'N', 'G', 'O', 'r', 's', 'S', 'c', 't', 'v', 'V', \
1462 'w', 'W', 'f', 'F', 'A', 'C', 'D', 'T', '-', '>', \ 1463 'w', 'W', 'f', 'F', 'A', 'C', 'D', 'T', '-', '>', \
1463 'B', 'P', 'R', 'L', \ 1464 'B', 'P', 'R', 'L', \
1464 '+', '=', 'x', 'X', '*', '#', '_', '!', '.', 'o', 'q', \ 1465 '+', '=', 'x', 'X', '*', '#', '_', '!', '.', 'o', 'q', \
1465 'z', 'Z'} 1466 'z', 'Z'}