macvim-dev / macvim-dev/macvim

Problem with delimitMate, gui and combining characters

Aperta
#302 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Vim Script
Stelle
7.9k
Fork
691
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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).

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Riproduci il comportamento nella GUI di MacVim con mvim -u NONE -U NONE -N, eseguendo il source di autoload/delimitMate.vim e plugin/delimitMate.vim prima di abilitare delimitMate. Confronta l’input della GUI con MacVim da riga di comando per i casi elencati di caratteri combinanti e spazi; il lavoro è completato quando entrambi producono il carattere e il comportamento del cursore previsti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
macos, vim
Ambito
desktop, internationalization
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.