elixir-editors / elixir-editors/vim-elixir
syntax highlighting broken for `.*eex` files
- 主要言語
- Ruby
- スター
- 1.3k
- フォーク
- 154
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
After the recent change that [removed ftdetect](https://github.com/elixir-editors/vim-elixir/pull/560), syntax highlighting is no longer working for `.*eex` files (`.heex`, `.leex`, etc). It appears that the default filetype detection marks these files as e.g. `ft=heex` instead of `ft=eelixir`, as the previous `ftdetect` plugin did.
# Actual
```
set ft?
filetype=heex
```

# Expected
If I run `set ft=eelixir`, I get this:

However, if I first run `let b:eelixir_subtype = 'heex'`, I get this:

Not sure which of these is correct.
```
$ nvim --version
NVIM v0.7.0-dev+1348-g524f6294a
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by a80323765@USC02F834HMD6N
Features: +acl +iconv +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/Cellar/neovim/HEAD-524f629/share/nvim"
Run :checkhealth for more info
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
ftdetect プラグインを削除した変更を確認し、Neovim で .heex、.leex、およびその他の .*eex ファイルの検出を再現してください。結果として得られる ft=heex の動作を ft=eelixir および eelixir_subtype=heex のケースと比較してください。この作業は、これらのファイルに意図した構文ハイライトが自動的に適用されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- elixir, vim
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100