diff --git a/CHANGELOG.md b/CHANGELOG.md index 2da9824b4..396c57115 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ Improved parsing for Rust punctuation. Improved parsing for OCaml punctuation. +Improved parsing for `#` and `.` in Scheme and Emacs Lisp. + ### Diffing Reduced memory usage when diffing. diff --git a/config/syntax.toml b/config/syntax.toml index 99680608b..b7e7fcead 100644 --- a/config/syntax.toml +++ b/config/syntax.toml @@ -72,7 +72,7 @@ atom_patterns = [ # Symbols (e.g. variable names) '[a-zA-Z0-9_?:/*-]+', # Operators - "[`',]", + "[`',#.]", ] string_patterns = [ # String literals @@ -92,7 +92,7 @@ atom_patterns = [ # Symbols (e.g. variable names) '#?[a-zA-Z0-9_?:/*-]+', # Operators - "[`',]", + "[`',#.]", ] string_patterns = [ # String literals