Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When entering Chinese punctuation (such as 。 , ! ? ¥) on the Mac platform, it will become English punctuation. #2567

Open
HughLink opened this issue May 19, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@HughLink
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. macOS 11.4]
  • Neovide Version [e.g. 0.6.0]
  • Neovim Version [e.g. 0.5.0]

Please run neovide --log and paste the contents of the .log file created in the current directory here:

Additional context
Add any other context about the problem here.

@HughLink HughLink added the bug Something isn't working label May 19, 2024
@fredizzimo
Copy link
Member

I see some problems in KDE Plasma 6 Wayland with fcitx5 too.

It looks like neovide_input_ime now defaults to false for some reason. Can you try to set it after Neovim has started, and see if that fixes the problem?
https://neovide.dev/configuration.html#ime

Meanwhile I will try to fix the defaults.

@fredizzimo
Copy link
Member

I hope this fixes it:

@HughLink
Copy link
Author

HughLink commented May 20, 2024

Thank you, but setting neovide_input_ime = true did not solve the problem

as follows:
Use nvim in Neovide to enter Chinese punctuation as English punctuation
Use nvim in iTerm2 to enter Chinese punctuation as Chinese punctuation.

@fredizzimo

@HughLink
Copy link
Author

I hope this fixes it:

I have also compiled and used this version, which fixed the position problem👍, but did not fix the Chinese punctuation problem.

@fredizzimo
Copy link
Member

Ok, can you run neovide --log then type something with that punctuation and then close neovide. Then attach the log file here. I don't have a macOS machine myself so I have to rely on the log file to debug it.

@fredizzimo
Copy link
Member

I checked this on Linux Wayland with the fctix5, fcitx5-chinese-addons, pinyin combination. And the punctuation is correctly Chinese with that. So it's probably a macOS specific problem.

@fredizzimo
Copy link
Member

fredizzimo commented May 24, 2024

I think this might be related to this:

But we need a log file in order to confirm. @falcucci was able to repeat it so I think he can provide one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants