diff --git a/src/main/java/com/maddyhome/idea/vim/newapi/IjVimSearchGroup.kt b/src/main/java/com/maddyhome/idea/vim/newapi/IjVimSearchGroup.kt index 38948c1b4f..68ad7b0fc9 100644 --- a/src/main/java/com/maddyhome/idea/vim/newapi/IjVimSearchGroup.kt +++ b/src/main/java/com/maddyhome/idea/vim/newapi/IjVimSearchGroup.kt @@ -110,6 +110,19 @@ open class IjVimSearchGroup : VimSearchGroupBase(), PersistentStateComponent VimInt(KeyHandler.getInstance().keyHandlerState.commandBuilder.calculateCount0Snapshot()) "count1" -> VimInt(KeyHandler.getInstance().keyHandlerState.commandBuilder.calculateCount0Snapshot().coerceAtLeast(1)) "searchforward" -> VimInt(if (injector.searchGroup.getLastSearchDirection() == Direction.FORWARDS) 1 else 0) + "hlsearch" -> { + HighLightVariable().evaluate(name, editor, context, vimContext) + } "register" -> { RegisterVariable().evaluate(name, editor, context, vimContext) }