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

Inserting list items is not working with unicode characters #80

Closed
2 of 6 tasks
yous opened this issue Nov 20, 2018 · 3 comments
Closed
2 of 6 tasks

Inserting list items is not working with unicode characters #80

yous opened this issue Nov 20, 2018 · 3 comments
Assignees
Labels
bug:report Something does not work as intended / expected.

Comments

@yous
Copy link

yous commented Nov 20, 2018

OS type:

  • Unix
  • Windows
  • Other (macOS)

Vim:

  • vim
  • neovim
  • Other ([SPECIFY])

Vim version:

8.1.500

Reproduce steps:

Example:

  1. Open a markdown file.
  2. Paste the following example into the file:
    - 😀 list item
  3. Type Enter at the end of the line in INSERT mode.

Expected:

- 😀 list item
- |

The cursor is at |.

Actual:

- 😀 list item
|

The cursor is at |.

@SidOfc
Copy link
Owner

SidOfc commented Nov 20, 2018

Hi there,

Thank you for the bug report, I will look into it!

@SidOfc SidOfc added the bug:report Something does not work as intended / expected. label Nov 20, 2018
@SidOfc SidOfc self-assigned this Nov 20, 2018
@SidOfc
Copy link
Owner

SidOfc commented Nov 20, 2018

No new version has been released yet but the changes are merged in master already. If you're using a plugin manager which uses git you can go ahead and update.

I did a brief check of the places that used strlen and also found another issue #81 where table rows were misaligned when they contained unicode characters.

Thanks again for reporting the bug!

@yous
Copy link
Author

yous commented Nov 21, 2018

Now it works well, thank you for the quick update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:report Something does not work as intended / expected.
Projects
None yet
Development

No branches or pull requests

2 participants