macvim-dev / macvim-dev/macvim
Problem with delimitMate, gui and combining characters
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
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:
-
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).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior in the MacVim GUI with mvim -u NONE -U NONE -N, sourcing autoload/delimitMate.vim and plugin/delimitMate.vim before enabling delimitMate. Compare GUI input with command-line MacVim for the listed combining-character and space cases; done when both produce the expected character and cursor behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, vim
- Domain
- desktop, internationalization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100