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

fix(completion): avoid unnecessary file sep as trigger chars #1017

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

kevinhwang91
Copy link
Contributor

Language clients such as coc.nvim have multiple completion sources that
may contain a file path completion source triggered by / or \.
However, if users use the default requireSeparator . setting under
lua-language-server, type / or \ in a string will fire a lot of unless
items whose priority is high than file path items and make file path
items at the bottom of candidates.

Language clients such as coc.nvim have multiple completion sources that
may contain a file path completion source triggered by `/` or `\`.
However, if users use the default requireSeparator `.` setting under
lua-language-server, type `/` or `\` in a string will fire a lot of unless
items whose priority is high than file path items and make file path
items at the bottom of candidates.
@sumneko sumneko merged commit 02e76ee into LuaLS:master Apr 4, 2022
@kevinhwang91 kevinhwang91 deleted the fix-trigger-completion branch April 4, 2022 16:39
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.

2 participants