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

Suggestion: More Syntax Highlightning #14

Open
dieli opened this issue Feb 17, 2016 · 0 comments
Open

Suggestion: More Syntax Highlightning #14

dieli opened this issue Feb 17, 2016 · 0 comments

Comments

@dieli
Copy link

dieli commented Feb 17, 2016

Hi,
We have some coding standards which say (for example) constants have a postfix of _C. I want to highlight those as well. I got it working with adding:

      {
        'comment': 'Constant'
        'match' : '\\b(?i)[a-z0-9_]*(?-i)_C\\b'
        #'match' : '.*_C';
        'name': 'constant'
      }

to vhdl.cson. I can't fork and make a pull request (at work at the moment). Do you think it is possible to maybe add a user.cson to define such highlighting rules, or add it to the main package?
dieli

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

No branches or pull requests

1 participant