From a43993897aa372159f682df37562f159994dc85c Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Sat, 9 Apr 2022 21:04:08 +0100 Subject: 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) --- src/vim.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/vim.h') diff --git a/src/vim.h b/src/vim.h index f448ad010c..f9ec6e54a7 100644 --- a/src/vim.h +++ b/src/vim.h @@ -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', \ -- cgit v1.2.3