summaryrefslogtreecommitdiffstats
path: root/src/vim.h
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2022-04-09 21:04:08 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-09 21:04:08 +0100
commita43993897aa372159f682df37562f159994dc85c (patch)
treef5336f7c06025b8c072e794dcf72b2a4d83cd8a7 /src/vim.h
parent2bf52dd065495cbf28e28792f2c2d50d44546d9f (diff)
patch 8.2.4724: current instance of last search pattern not easily spottedv8.2.4724
Problem: Current instance of last search pattern not easily spotted. Solution: Add CurSearch highlighting. (closes #10133)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h3
1 files changed, 2 insertions, 1 deletions
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', \