Dusty Pomerleau
4410af455e
ensure word boundary after true
2020-11-21 18:44:38 +11:00
Dusty Pomerleau
22dbbd16d8
fix: prevent /**/
from matching block doc comments
2020-11-10 09:54:00 +11:00
cynecx
fbd3d73bbc
vscode: fix tmGrammar issues around non-controlflow keywords
2020-11-07 20:12:56 +01:00
Dusty Pomerleau
6959cb045c
allow variables to terminate ranges
2020-11-07 22:08:29 +11:00
Dusty Pomerleau
ffc5f4cf2b
precedence fixes:
...
- prevent `pat` from matching before `path` in metavariable types
- reduce the precedence of math operators so that assignment operators match correctly
2020-11-07 14:56:06 +11:00
Dusty Pomerleau
397b76f28b
add +=
to assignment operators
2020-11-07 09:49:08 +11:00
Dusty Pomerleau
4e66fc57bd
fix: distinguish turbofish function calls from namespaces
2020-11-03 23:47:15 +11:00
Dusty Pomerleau
01a228f689
fix: allow functions without curly brackets
2020-11-03 18:37:43 +11:00
Dusty Pomerleau
79598f55b0
fix: allow comments in attributes
2020-11-02 15:33:11 +11:00
Dusty Pomerleau
efdcfcfb61
fix: narrow the case where angle brackets are seen as comparison operators
2020-10-26 20:16:26 +11:00
Dusty Pomerleau
f352b98f7e
fix: underscores, raw IDs
...
- remove comment scope from ignored params
- underscores will automatically receive variable/param scope
- add raw ID syntax to modules, functions, and variables
2020-10-24 13:00:26 +11:00
Dusty Pomerleau
26b4b1e2fb
fix: prevent line comments inside block comments
...
- prevent line comments inside block comments
- prevent underscore-prefixed functions and macros from receiving comment scope
2020-10-22 13:33:06 +11:00
Dusty Pomerleau
93eeafc79f
fix: require matching hash quantities for raw strings
2020-10-21 10:38:31 +11:00
Dusty Pomerleau
06208e622f
fix: prevent unwanted interpolation scopes
2020-10-18 13:27:03 +11:00
Dusty Pomerleau
c2335d0cb2
fix: prevent early termination of raw strings with hash
2020-10-16 11:08:59 +11:00
Dusty Pomerleau
49d824a99d
add new TextMate grammar
2020-10-11 17:55:50 +11:00
Matthijs Brobbel
f640d2a09c
Fix a typo
2020-06-30 17:42:54 +02:00
Yuki Kodama
1e823d6770
Add question mark operator
2020-05-26 02:36:34 +09:00
George Fraser
47ce5ea581
Color attribute functions
2020-05-18 22:55:46 -07:00
George Fraser
57c52bd397
Use .rust suffix on scopes
2020-05-12 08:31:43 -07:00
George Fraser
97428b6d52
Put sigil back to keyword.operator
2020-05-10 15:36:47 -07:00
George Fraser
2d2b32abe5
Change lifetimes back to keyword-ish, tweak builtins for consistency between TextMate and semantic
2020-05-10 13:32:42 -07:00
George Fraser
46566d7a79
Color as
as a keyword
2020-05-10 13:07:28 -07:00
George Fraser
e86379ad15
No longer true
2020-05-10 13:07:28 -07:00
George Fraser
60e8e56dfa
Color core types as types, not keywords
2020-05-10 13:07:28 -07:00
George Fraser
0881c889bf
Color sigil like keyword
2020-05-10 13:07:28 -07:00
George Fraser
d5d154ba3f
Color lifetimes like types
2020-05-10 13:07:28 -07:00
George Fraser
a91d15c80c
Import built-in textmate grammar, with no changes
2020-05-10 13:07:28 -07:00