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

Enable Tabnine source based on variable #299

Merged
merged 3 commits into from
Oct 24, 2024

Conversation

phongnh
Copy link
Contributor

@phongnh phongnh commented Jun 15, 2024

Hi @jayli,

Please help to check and review this PR thanks. I'm updating to enable Tabnine source only if g:easycomplete_tabnine_enable = 1.

phongnh added 2 commits July 19, 2023 00:26
Load TabNine sources only if g:easycomplete_tabnine_enable = 1
@jayli
Copy link
Owner

jayli commented Oct 24, 2024

You should first check if lsp-tn is installed, and if it is, it should be enabled by default. Then, you can control whether TN is enabled or not by setting the variable g:easycomplete_tabnine_enable. I think this is the correct sequence of init TN or not.

@jayli jayli merged commit 680508d into jayli:master Oct 24, 2024
1 check failed
@phongnh phongnh deleted the enable-tabnine-based-on-variable branch October 24, 2024 10:47
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