I don’t know how to offer a suggested patch to the developers regarding an builtin package (I mean I can override this in the packages directory but it really should be fixed for everyone) and this seemed like the best place to make the suggestion. Let me know if I should post this elsewhere.
In particular, the default LaTeX.sublime-syntax file recognizes old-school math delimiters $ $ but not the new style ( ). It should recognize both. This is a minimal change that should take someone about 5 minutes to review.
diff --git a/LaTeX.sublime-syntax b/LaTeX.sublime-syntax
index 060a847..3660705 100644
--- a/LaTeX.sublime-syntax
+++ b/LaTeX.sublime-syntax
@@ -455,9 +455,7 @@ contexts:
- include: math-content
- match: (\\\()
- scope: string.other.math.latex
- captures:
- 1: punctuation.definition.string.begin.latex
+ scope: string.other.math.latex punctuation.definition.string.begin.latex
push:
- meta_scope: meta.environment.math.inline.paren.latex
- match: (\\\))