& is legal in elisp

It's used for variadic functions.
pull/25/head
Wilfred Hughes 2021-07-18 23:25:56 +07:00
parent 75839a1185
commit 88b0ec2283
2 changed files with 4 additions and 2 deletions

@ -8,7 +8,9 @@ Improved parsing for Rust punctuation.
Improved parsing for OCaml punctuation.
Improved parsing for `#` and `.` in Scheme and Emacs Lisp.
Improved parsing for Emacs Lisp punctuation of `#`, `.` and `&`.
Improved parsing for Scheme punctuation of `#` and `.`.
### Diffing

@ -72,7 +72,7 @@ atom_patterns = [
# Symbols (e.g. variable names)
'[a-zA-Z0-9_?:/*-]+',
# Operators
"[`',#.]",
"[`',#.&]",
]
string_patterns = [
# String literals