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

Support non-english words #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Support non-english words #16

wants to merge 1 commit into from

Conversation

habamax
Copy link

@habamax habamax commented Jan 10, 2020

Fix #15

Default behaviour is the same, only english words are completed.
New global variable is introduced: g:asyncomplete_buffer_word_rx_class

Default value is '[:alnum:]' which is stripped version of \w

User that want to be able to complete Russian can change it to:

let g:asyncomplete_buffer_word_rx_class = '[:alnum:]а-яА-Я'

The same could be done with Greek and other languages.

Fix #15

Default behaviour is the same, only english words are completed.
New global variable is introduced: g:asyncomplete_buffer_word_rx_class

Default value is '[:alnum:]' which is stripped version of \w

User that want to be able to complete Russian can change it to:

let g:asyncomplete_buffer_word_rx_class = '[:alnum:]а-яА-Я'

The same could be done with Greek and other languages.
@habamax
Copy link
Author

habamax commented Jan 10, 2020

accidentally fixed #6, @prabirshrestha you stated in pull request 7 you prefer regexes :)

omgitsmoe added a commit to omgitsmoe/asyncomplete-buffer.vim that referenced this pull request May 2, 2021
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.

No russian words are completed
1 participant