Skip to content

Commit 8c2af4c

Browse files
committed
Fix regex to catch unknown bg or fg errors
Specify very magic, and make pattern a little stricter
1 parent b8d3123 commit 8c2af4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/fuzzyy/utils/popup.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def ResolveCursor()
8989
ctermfg: ctermfg,
9090
ctermbg: ctermbg
9191
}])
92-
catch /(E419|E420|E453)/
92+
catch /\v:(E419|E420|E453):/
9393
# foreground and/or background not known and used as ctermfg or ctermbg
9494
hlset([fallback])
9595
catch

0 commit comments

Comments
 (0)