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

how to disable lsp by default #1

Closed
ccshao opened this issue Jul 14, 2021 · 2 comments
Closed

how to disable lsp by default #1

ccshao opened this issue Jul 14, 2021 · 2 comments

Comments

@ccshao
Copy link

ccshao commented Jul 14, 2021

A simple question, with which option could I disable lsp by default? I want to toggle it on when I need it. Thanks!

@WhoIsSethDaniel
Copy link
Owner

Hello,
I have committed a change that allows for the diagnostics to be off when you start neovim. You can use this setting:

require'toggle-lsp-diagnostics'.init({ start_on = false })

You can then toggle the diagnostics on/off as normal.

You will need to have the most recent version of this plugin to see this change.

@ccshao
Copy link
Author

ccshao commented Jul 15, 2021

Thank your very much for the quick help, it works as expected!

@ccshao ccshao closed this as completed Jul 15, 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

No branches or pull requests

2 participants