From 866116004aba96ac739bcf31a2faf4a0178d58cb Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 14 Sep 2017 04:32:14 -0700 Subject: [PATCH] Tweaked apostrophe parsing. --- syntax/nomsu.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntax/nomsu.vim b/syntax/nomsu.vim index 068342a..63db045 100644 --- a/syntax/nomsu.vim +++ b/syntax/nomsu.vim @@ -38,7 +38,7 @@ syn region nomsuLongString start=/"\.\."[^\n]*$\n\(\s*\n\)*\z(\s\+\)\S/ skip=/^\ \ contains=nomsuInterp,nomsuStringLineStart,nomsuStringTrailingSpace,nomsuOneLineComment,nomsuComment hi def link nomsuLongString String -syn match nomsuVar /\v\%[a-zA-Z0-9_'+*/^&$@#-]*/ +syn match nomsuVar /\v\%[a-zA-Z0-9_'+*/^&$@-][a-zA-Z0-9_+*/^&$@-]*/ hi def link nomsuVar Identifier syn match nomsuNumber /\v([a-zA-Z])@