macvim-dev / macvim-dev/macvim

Problem with delimitMate, gui and combining characters

Ouverte
#302 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Langage dominant
Vim Script
Étoiles
7.9k
Forks
691
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Piste de recherche

Reproduisez le comportement dans l’interface graphique de MacVim avec mvim -u NONE -U NONE -N, en chargeant autoload/delimitMate.vim et plugin/delimitMate.vim avant d’activer delimitMate. Comparez la saisie dans l’interface graphique avec MacVim en ligne de commande pour les cas indiqués de caractères combinants et d’espaces ; c’est terminé lorsque les deux produisent le caractère et le comportement du curseur attendus.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
macos, vim
Domaine
desktop, internationalization
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.