Skip to content

Less specific syntax groups regexps #31

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

Merged
merged 1 commit into from
Feb 21, 2013
Merged

Conversation

drslump
Copy link
Contributor

@drslump drslump commented Sep 19, 2011

Instead of targetting the regular expressions to very specific syntax groups (ie: javaScriptDocComment), which make the indent script not compatible with other syntaxes (ie: jsComment), more generic versions are used which should still match the same groups by using case insensitive search and shorter patterns (string, regex and comment).

This modification works for the bundled syntax with Vim 7, the syntax version provided with the indent script as well as with this new javascript syntax: https://github.com/drslump/vim-syntax-js

Instead of targetting the regular expressions to very specific syntax
groups (ie: javaScriptDocComment), which make the indent script not
compatible with other syntaxes (ie: jsComment), more generic versions
are used which should still match the same groups by using case
insensitive search and shorter patterns (string, regex and comment).
@goatslacker goatslacker merged commit 2f39355 into pangloss:master Feb 21, 2013
@goatslacker
Copy link
Collaborator

Thanks for the pull request. I'd love to merge some of the stuff you have in vim-syntax-js into this project feel free to submit a pull request; it'll be merged in a hell of a lot quicker this time around.

aronhoff pushed a commit to aronhoff/vim-javascript that referenced this pull request Sep 1, 2015
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.

2 participants