macvim-dev / macvim-dev/macvim
Problem with delimitMate, gui and combining characters
まだ誰も着手していません。
- 主要言語
- Vim Script
- スター
- 7.9k
- フォーク
- 691
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I'm having this issue with delimitMate, but it doesn't happen with vim or gvim on linux, and it doesn't happen with MacVim on the command line, I can only reproduce it on the MacVim gui, so I'm starting to think the problem isn't the plugin.
Here are the exact steps to reproduce:
-
mvim -u NONE -U NONE -N -
:so ~/.vim/bundle/delimitMate/autoload/delimitMate.vim<cr> -
:so ~/.vim/bundle/delimitMate/plugin/delimitMate.vim<cr>(the files have to be there, obviously)
-
:DelimitMateOn<cr> -
i<m-`>a(that'soption+`, withoutmacmeta)This should type
à, but instead it types `à``. It only happens in the MacVim gui, at the command line it works as it should. -
```
This should result in
|(|is the cursor), but instead it does just ```. Again, it only happens in the gui.
The steps above use the regular US keyboard profile. I'm actually using the US International keyboard profile, which has many more combining characters, and this happens with others too (so this problem has nothing to do with the meta key, which isn't used with the other profile).
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
mvim -u NONE -U NONE -N を使って MacVim GUI での動作を再現し、delimitMate を有効にする前に autoload/delimitMate.vim と plugin/delimitMate.vim を source します。列挙された結合文字およびスペースのケースについて、GUI 入力とコマンドライン MacVim を比較します。両方で期待される文字とカーソルの動作が得られれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- macos, vim
- 領域
- desktop, internationalization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100