Closed meatcoder closed 9 years ago
Hi @meatcoder - thanks for reporting this. Unfortunately this isn't something we can fix in Linguist, it's an issue with the grammar we're using: https://github.com/textmate/objective-c.tmbundle
Would you mind reporting this bug here? Once it gets fixed we can merge in the upstream fixes.
@meatcoder This issue was solved in textmate/objective-c.tmbundle#7. The fix will be live within a couple of weeks.
The following snippet is highlighted such that the
%
in the second segment of the NSString constant is shown as a syntax error. Note that this is valid Objective-C code.Adding a
@
to the second segment produces the correct highlighting:This
%
in both snippets should be highlighted in the same way.