diff --git a/CHANGELOG.md b/CHANGELOG.md index dcb08d423..c6fd9ad26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ ## 0.5 (unreleased) +### Parsing + +Improved parsing for Rust punctuation. + ## 0.4 ### Parsing diff --git a/config/syntax.toml b/config/syntax.toml index 1ef5ec7bd..3f3da0710 100644 --- a/config/syntax.toml +++ b/config/syntax.toml @@ -163,7 +163,7 @@ atom_patterns = [ # Symbols (e.g. variable names) '[a-zA-Z0-9_]+!?', # Two character operators - '(::|&&|\|\||\.\.)', + '(::|&&|\|\||\.\.|=>|<=|>=|==|!=)', # Single character operators # | is a delimiter for lambdas, but also used in pattern matching. '[.&=<>/*+:;,|#!?$-]',