Skip to content

Commit

Permalink
Merge pull request #44 from jkuczm/fix_backtick
Browse files Browse the repository at this point in the history
Make backtick a letter character
  • Loading branch information
jkuczm authored May 13, 2021
2 parents c36af52 + 59e7ccf commit 7ed36d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mmacells.sty
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,8 @@
\definecolor{mmaComment}{gray}{.6}

\lstdefinelanguage[base]{Mathematica}[5.2]{Mathematica}{
alsoletter={\#}, % # is used in Slot identifier names.
alsoletter={\#`}, % # is used in Slot identifier names.
% ` is a context mark that is part of symbol names.
alsoother={@}, % @ is an operator.
morestring=[b]", % " inside string is escaped by backslash.
morecomment=[n]{(*}{*)}, % Mathematica comments can be nested.
Expand Down

0 comments on commit 7ed36d3

Please sign in to comment.