macvim-dev / macvim-dev/macvim

Problem with delimitMate, gui and combining characters

Offen
#302 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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:

  1. mvim -u NONE -U NONE -N

  2. :so ~/.vim/bundle/delimitMate/autoload/delimitMate.vim<cr>

  3. :so ~/.vim/bundle/delimitMate/plugin/delimitMate.vim<cr>

    (the files have to be there, obviously)

  4. :DelimitMateOn<cr>

  5. i<m-`>a (that's option + `, without macmeta)

    This should type à, but instead it types `à``. It only happens in the MacVim gui, at the command line it works as it should.

  6. ```

    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

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Ö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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.