macvim-dev / macvim-dev/macvim
Problem with delimitMate, gui and combining characters
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Vim Script
- Star
- 7.9k
- Fork
- 691
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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).
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện hành vi trong GUI của MacVim bằng mvim -u NONE -U NONE -N, source autoload/delimitMate.vim và plugin/delimitMate.vim trước khi bật delimitMate. So sánh thao tác nhập trong GUI với MacVim dòng lệnh đối với các trường hợp ký tự kết hợp và khoảng trắng được liệt kê; hoàn tất khi cả hai đều tạo ra ký tự và hành vi con trỏ như mong đợi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- macos, vim
- Lĩnh vực
- desktop, internationalization
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100