From 3ae7d254c97b68fbf48b09fec354f22fd24449b6 Mon Sep 17 00:00:00 2001 From: Raymonzut <40148684+Raymonzut@users.noreply.github.com> Date: Mon, 11 Jan 2021 18:40:35 +0100 Subject: [PATCH] Match #include --- grammars/mblf.cson | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/grammars/mblf.cson b/grammars/mblf.cson index 15a71bd..aae9f96 100644 --- a/grammars/mblf.cson +++ b/grammars/mblf.cson @@ -7,6 +7,12 @@ 'extension' ] 'patterns': [ + { + 'match': '(^\\s*)(\#include)\ +(\"([[:ascii:]]+)(\.mblf)?\")' + 'captures': + 2: name: 'keyword' + 3: name: 'string' + }, { 'match': '(^\\s*)(add(b)?|sub(b)?)\ +(((0x)?(\\d|[A-F])+)|(\"\[[:ascii:]]\"))' 'captures':