AdamNiederer / AdamNiederer/vue-mode

JS and CSS indentation not working as per the instructions

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

描述

From the instructions:

![4f130d5e-ff6e-11e5-87a5-4fbd0008b475](https://user-images.githubusercontent.com/6151586/91714597-06c4e980-eb84-11ea-8a78-72199e7b3892.png)

As you can see there is no indentation immediately after the `` tag, so the top level JS code starts from the very first column.
However, for me, it forces an indentation to make the code look like this:

```
<script>
import Counter from './components/counter.vue'
...

```

The same happens for CSS.

貢獻指南

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

研究方向

No source file or test is named in the issue; start by locating vue-mode's JavaScript and CSS indentation entry points and compare them with the linked instructions. Done means top-level contents after and <style> align at the first column while nested code retains the intended indentation.

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

評估

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

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

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