macvim-dev / macvim-dev/macvim
Problem with delimitMate, gui and combining characters
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Vim Script
- Sterne
- 7.9k
- Forks
- 691
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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).
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere das Verhalten in der MacVim-GUI mit mvim -u NONE -U NONE -N, indem du autoload/delimitMate.vim und plugin/delimitMate.vim sourcest, bevor du delimitMate aktivierst. Vergleiche die GUI-Eingabe mit dem Befehlszeilen-MacVim für die aufgeführten Fälle mit kombinierenden Zeichen und Leerzeichen; abgeschlossen, wenn beide das erwartete Zeichen- und Cursorverhalten erzeugen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- macos, vim
- Bereich
- desktop, internationalization
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100