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

blade multi-line comment indentation too big #1315

Open
cweiske opened this issue Oct 22, 2024 · 0 comments
Open

blade multi-line comment indentation too big #1315

cweiske opened this issue Oct 22, 2024 · 0 comments

Comments

@cweiske
Copy link

cweiske commented Oct 22, 2024

When adding a multiline comment in a Laravel .blade.php file, the lines following the "begin comment" sign {{-- get indented 49 columns, which is a bit large:

{{--
                                                  |
--}}

(| is where the cursor gets placed when pressing return on the end of {{-- line)

I don't think it should indent at all.


--- WEB-MODE DEBUG BEG ---
versions: emacs(27.1) web-mode("17.3.20")
vars: engine("blade") minor("blade") content-type("html") file("/home/cweiske/code/foren-le/webapp/resources/views/attend/select.blade.php")
system: window(nil) config("x86_64-pc-linux-gnu")
colors: fg(nil) bg(nil)
minor modes: (global-eldoc-mode cl-old-struct-compat-mode editorconfig-mode async-bytecomp-package-mode shell-dirtrack-mode helm-minibuffer-history-mode helm-mode)
vars:
web-mode-enable-current-column-highlight=t
web-mode-enable-current-element-highlight=t
indent-tabs-mode=nil
--- WEB-MODE DEBUG END ---

This happens with emacs 27.1 and 20240804.821 (commit 0c83581) on Ubuntu 22.04.

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