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

feat: implement ignore blocks #12

Merged

Conversation

polvalente
Copy link
Contributor

@polvalente polvalente commented Aug 5, 2019

This allows for proper commented code and string text ignoring
Also, this PR improves the Elixir syntax matching

solves #4 and #5

@polvalente polvalente force-pushed the feat/ignore-blocks branch 2 times, most recently from 0b50716 to c7ebd43 Compare August 5, 2019 17:12
src/languages.ts Outdated Show resolved Hide resolved
src/languages.ts Outdated
],
neutralTokens: [
"do",
" -> ",
" <- ",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also had problems making this work. Maybe it's due to the way the Regexp is matched?

@polvalente polvalente force-pushed the feat/ignore-blocks branch 6 times, most recently from c147036 to aed0fbe Compare August 16, 2019 16:35
@julien-duponchelle
Copy link
Owner

Back from holidays :) Can you also update the changelog and credit yourself inside it ? I will release the version after that .

Thanks a lot it's awesome !

@polvalente
Copy link
Contributor Author

I'm making some final adjustments regarding the main RegExp call (because some things break due to boundary matching), and as soon as I'm done, I'll push again!

…string text ignoring and improve elixir syntax matching

feat: support other languages in ignore blocks
@polvalente
Copy link
Contributor Author

Done!

@julien-duponchelle
Copy link
Owner

Thanks a lot ! I will push a release in the coming days

@julien-duponchelle julien-duponchelle merged commit 3963286 into julien-duponchelle:master Aug 27, 2019
@julien-duponchelle
Copy link
Owner

0.7 released 🚀

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