AdamNiederer / AdamNiederer/vue-mode

`prog-mode-hook` not called

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

描述

I have a hook for showing line numbers only when prog-mode is loaded and it's something along the lines of

```
(add-hook 'prog-mode-hook 'display-numbers-hook)
```
This works for all programming modes except vue-mode. Is there any reason `prog-mode-hook` is not called when loading vue-mode?

貢獻指南

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

研究方向

Start at the vue-mode entry point and trace whether loading the mode invokes `prog-mode-hook`, using the reported `add-hook` example as the reproduction. Done means `prog-mode-hook` is called when vue-mode loads, so the line-number hook behaves as it does in other programming modes.

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

評估

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

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

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