summary refs log tree commit diff
path: root/vim
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-05-25 19:43:02 -0700
committerIrene Knapp <ireneista@irenes.space>2026-05-25 19:43:02 -0700
commit24d9dcc942f8a00af682b9032575f8a5864efdc5 (patch)
treee317afbb16981dd0cd4d2b278b5dd10a2fe72ca6 /vim
parent2884a3392f5c70b6e28dd33ce85e89475ef1aba0 (diff)
fixed the vim comment highlighting thing
it needed to be a zero-width assertion, performance notwithstanding

Force-Push: yes
Change-Id: I033e3671401041406c247dcffa6b244c40544fd7
Diffstat (limited to 'vim')
-rw-r--r--vim/syntax/evocation.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/syntax/evocation.vim b/vim/syntax/evocation.vim
index bb5094f..973f0c1 100644
--- a/vim/syntax/evocation.vim
+++ b/vim/syntax/evocation.vim
@@ -1,6 +1,6 @@
 " Don't use keywords, they don't have the correct delimiters.
 
-syn region evocationComment start="\(^\|\s\)\zs\~\($\|\s\)" end="$"
+syn region evocationComment start="\(^\|\s\)\@<=\~\($\|\s\)" end="$"
 
 syn region evocationString start=_\(^\|\s\)\zss"\ze\($\|\s\)_ end=_"_
 syn region evocationString start=_\(^\|\s\)\zs\."\ze\($\|\s\)_ end=_"_