Skip to content

Conversation

@natebosch
Copy link
Owner

Closes #427

Use charcol over col where it exists.
Gate the function definition behind the feature check to avoid repeating
it for every call.

Closes #427

Use `charcol` over `col` where it exists.
Gate the function definition behind the feature check to avoid repeating
it for every call.
Use a single utility that wraps charcol when possible, and falls back on
col otherwise. Older vim without charcol will not handle multibyte
characters for now. Continue to use `col` for the tag stack, and
`virtcol` for setting character position. In places where the column is
used to index into a string value, prefer `charcol` when available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Completion breaks with multibyte characters

2 participants