Fix syntax highlighting for variables containing keywords bounded by underscores. #54

Merged
merged 1 commit into from Oct 3, 2012

Conversation

Projects
None yet
2 participants
Contributor

chellmuth commented Sep 23, 2011

Tokens such as 'my_new_variable' were being highlighted in two different colors.

This redefines the definition of the word syntax class, so if you like to M-f or M-b through your code you'll notice you skip over the underscores now. If this is a problem, maybe a defcustom toggling the redefinition is appropriate?

Fix syntax highlighting for variables containing keywords bounded by
underscores.

eg my_new_var was being highlighted in multiple colors.

@telaviv telaviv merged commit 1c8aea3 into defunkt:master Oct 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment