You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't match keywords if they are preceded by a dot and add the 'sequence' keyword (#186)
* Change keyword matching regex
Keywords (with the exception of 'where' and 'foreach') should not be considered as such if they are preceded by a '.'.
The tests relative to keywords used as members or methods now pass.
'process' is now considered a block keyword.
* Add 'sequence' keyword
Also make the relative syntax test pass.
* Change test assertion in Function syntax test
Now the test reflects the change of the 'process' keyword from uncategorised to block.
* Change Parameter matching regex to match 'PositionalBinding'
The relevant test in the function syntax test now passes.
* Consume string with a trailing dot before checking for keywords
This makes negative lookbehind assertions on keywords unnecessary.
* Add scope to matched unquoted strings
Co-authored-by: deathaxe <[email protected]>
* Match word boundary to avoid highlighting invalid arguments
Co-authored-by: deathaxe <[email protected]>
---------
Co-authored-by: deathaxe <[email protected]>
0 commit comments