diff --git a/lib/ace/mode/dart_highlight_rules.js b/lib/ace/mode/dart_highlight_rules.js index e79229da..0c2795c1 100644 --- a/lib/ace/mode/dart_highlight_rules.js +++ b/lib/ace/mode/dart_highlight_rules.js @@ -52,7 +52,7 @@ var DartHighlightRules = function() { }, { token: "keyword.other.import.dart", - regex: "#(?:\\b)(?:library|import|source|resource)(?:\\b)" + regex: "(?:\\b)(?:library|import|source|resource|part|part of)(?:\\b)" }, { token : ["keyword.other.import.dart", "text"],