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

Issue 83: Prevent "#{}" expansion in literal heredocs #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mshenfield
Copy link

The atom-brackets package is configured to expand "#" into "#{$1}" in comment.documentation.heredoc.elixir contexts. To avoid this and close #83, this changes literal heredoc contexts (~S) to have a more specific tag, comment.documentation.heredoc.literal.elixir.

Tested by apm linking the modified language-elixir locally and confirmed that "#" no longer expanded in literal heredocs. Also modified existing tests to expect the new name where appropriate.

The atom-brackets package is configured to expand "#" into "#{$1}" in `comment.documentation.heredoc.elixir` contexts. To avoid this and close elixir-editors#83, this changes literal heredoc contexts (`~S`) to have a more specific tag, `comment.documentation.heredoc.literal.elixir`.

Tested by `apm link`ing the modified `language-elixir` locally and confirmed that "#" no longer expanded in literal heredocs.  Also modified existing tests to expect the new name where appropriate.
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.

'#' replaced by '#{}' inside documentation blocks.
1 participant