mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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 #10133)
This commit is contained in:
@@ -1410,6 +1410,7 @@ typedef enum
|
||||
, HLF_H // obsolete, ignored
|
||||
, HLF_I // incremental search
|
||||
, HLF_L // last search string
|
||||
, HLF_LC // last search string under cursor
|
||||
, HLF_M // "--More--" message
|
||||
, HLF_CM // Mode (e.g., "-- INSERT --")
|
||||
, HLF_N // line number for ":number" and ":#" commands
|
||||
@@ -1457,7 +1458,7 @@ typedef enum
|
||||
|
||||
// The HL_FLAGS must be in the same order as the HLF_ enums!
|
||||
// When changing this also adjust the default for 'highlight'.
|
||||
#define HL_FLAGS {'8', '~', '@', 'd', 'e', 'h', 'i', 'l', 'm', 'M', \
|
||||
#define HL_FLAGS {'8', '~', '@', 'd', 'e', 'h', 'i', 'l', 'y', 'm', 'M', \
|
||||
'n', 'a', 'b', 'N', 'G', 'O', 'r', 's', 'S', 'c', 't', 'v', 'V', \
|
||||
'w', 'W', 'f', 'F', 'A', 'C', 'D', 'T', '-', '>', \
|
||||
'B', 'P', 'R', 'L', \
|
||||
|
Reference in New Issue
Block a user