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

support indented here-docs #39

Merged
merged 1 commit into from
Jul 27, 2017
Merged

Conversation

vividsnow
Copy link
Contributor

fix #38

@choroba
Copy link
Contributor

choroba commented Jul 14, 2017

Good start, I'd say. Thank you very much. But it doesn't work for me if the closing qtag isn't followed by an empty line.

{
    print <<~ '_INDENTED_';
        asdf
        asdf
    _INDENTED_
    warn "OK";
}

Also, pressing Tab still undoes any indentation inside the HERE-doc.

@vividsnow
Copy link
Contributor Author

strange - for me it works without empty line
out

@choroba
Copy link
Contributor

choroba commented Jul 14, 2017

screenshot from 2017-07-14 22-46-13 screenshot from 2017-07-14 22-59-27

@vividsnow
Copy link
Contributor Author

Do you still have issue when running
emacs -Q --eval '(require (quote cperl-mode) "/pato-to/cperl-mode.el")'
?

@choroba
Copy link
Contributor

choroba commented Jul 15, 2017

Yes, sorry for the confusion, my mistake. The Tab behaviour still needs to be fixed, but it can be probably done later.

@renormalist renormalist merged commit 72d5a58 into jrockway:master Jul 27, 2017
@renormalist
Copy link
Collaborator

@vividsnow Thanks for contributing. @choroba Thanks for testing it.

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.

support perl 5.26 indented here-docs syntax
3 participants