Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to regexes for various lexemes #91

Merged
merged 9 commits into from
Aug 20, 2014
Merged

Conversation

mattdeboard
Copy link
Contributor

This patch switches elixir-mode to use the lexemes/tokens outlined here by @alco. Their list of lexemes is up-to-date with Elixir master, whereas ours was of questionable heritage.

This patch also adds support for highlighting keyword-style maps (e.g.

%{a: 1, b: 2}

100% test passage here.
Apparently font-lock-reference-face is an alias for font-lock-constant-face.

The former has been deprecated since emacs 20. This would explain why I couldn't
get the "right" font face to show up for atoms and map keys.
I am aware these are probably unbelievably hideous. Please forgive me.
mattdeboard added a commit that referenced this pull request Aug 20, 2014
Updates to regexes for various lexemes
@mattdeboard mattdeboard merged commit 26c17f2 into master Aug 20, 2014
@mattdeboard mattdeboard deleted the lexeme-regex-updates branch August 20, 2014 02:46
J3RN pushed a commit to J3RN/emacs-elixir that referenced this pull request Apr 24, 2021
* clear_cache moved to Mix.State on elixir 1.10

* Update formatting

Co-authored-by: Jason Axelson <axelson@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant