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

Constant heredoc warnings #14

Open
zachdaniel opened this issue Sep 25, 2018 · 0 comments
Open

Constant heredoc warnings #14

zachdaniel opened this issue Sep 25, 2018 · 0 comments

Comments

@zachdaniel
Copy link

Describe the bug
Whenever I move my cursor inside of a heredoc (even when it is correctly aligned) I get the following message a whole bunch of times (more than the 2 occurrences shown here).

warning: outdented heredoc line. The contents inside the heredoc should be indented at the same level as the closing """. The following is forbidden:

    def text do
      """
    contents
      """
    end

Instead make sure the contents are indented as much as the heredoc closing:

    def text do
      """
      contents
      """
    end

The current heredoc line is indented too little
  nofile:18
 [2 times]

To Reproduce
Create a heredoc and place your cursor in it and move it around. Hard to say if this will be reproducible elsewhere :(

Setup
I'm using spacemacs. OTP version 20. I have excluded alchemist from the packages brought in by layers, and then I've added:

  (push "~/spacemacs_plugins/alchemist.el" load-path)
  (require 'alchemist-elixir-ls)
  (require 'alchemist-goto)
  (require 'alchemist)
@zachdaniel zachdaniel changed the title Constant heredoc warnings. Constant heredoc warnings Sep 25, 2018
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