AdamNiederer / AdamNiederer/vue-mode

Indentation problems in <script> tags

未關閉
#74 35 則留言 5 個 reaction 已指派 0 人 在 GitHub 檢視
need info
主要語言
Emacs Lisp
星號
341
分支
59
PR 合併指標
30 天內沒有已合併 PR

描述

Often, when I open a .vue file, the indentation in the `` tag is broken, with new lines aligned on the left. Sometimes, the indentation is correct when I open a file, I don't know why. Are you aware of this kind of problem?

I have a big spacemacs config, I will try to bisect the problem some time.

As a quick-fix, is there a way to force vue-mode to use the js indentation mode?

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Start by reproducing the problem in vue-mode with a .vue file containing a tag, ideally with a minimal Emacs setup rather than the reporter's large Spacemacs config. Read the mode's indentation behavior around <script> blocks and compare it with normal JavaScript indentation. Done means new lines inside <script> tags indent consistently or there is a documented way to force JavaScript indentation.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
emacs, emacs-lisp, javascript
領域
developer-experience, tooling
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。