From df6ad5675fdae59b6cebc86162cce060d6affc16 Mon Sep 17 00:00:00 2001 From: idleberg Date: Tue, 29 Nov 2016 13:14:47 +0100 Subject: [PATCH] update pattern --- nsL Assembler.sublime-syntax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsL Assembler.sublime-syntax b/nsL Assembler.sublime-syntax index 4ec435a..783350f 100644 --- a/nsL Assembler.sublime-syntax +++ b/nsL Assembler.sublime-syntax @@ -42,7 +42,7 @@ contexts: scope: keyword.other.nsl - match: \w+\:\:\w+ scope: support.class.nsl - - match: ^\s*(?i)(break|case|default|do|else|for|if|return|switch|while)(?=\s*\() + - match: ^\s*(?i)(break|case|default|do|else|for|if|return|switch|while)(?=\s*\()? scope: entity.name.section.nsl - match: \b(?i)(MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES)\b scope: entity.other.attribute-name.nsl