-
Notifications
You must be signed in to change notification settings - Fork 10
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
Toggling diagnostics resets my customization #11
Comments
Can confirm the behavior described, same here. I setup {
"WhoIsSethDaniel/toggle-lsp-diagnostics.nvim",
event = { "BufReadPost", "BufNewFile" },
config = function()
require("toggle_lsp_diagnostics").init(vim.diagnostic.config())
end,
}, |
If I understand your problem correctly this behavior is documented in the README:
You shouldn't need to hit two different keys to go back to your settings. Just use The names are odd, but that's for historical reasons. |
btw, sorry for such a long time to answer your bug report. Real-life got in the way. |
I just realized what you were trying to say in your earlier comment. I'll see what I can do about the toggling. |
I believe this issue is fixed. |
All good here now, thank you @WhoIsSethDaniel |
When I
<Plug>(toggle-lsp-diag)
they turn off fine, but when I do that again the diagnostics lose any of the settings I have assigned. If I do<Plug>(toggle-lsp-diag-default)
my customization is back again. This is unexpected behavior. I would like to toggle on/off without it changing any settings. Pressing two keys to turn them back on [properly] is also unacceptable.The text was updated successfully, but these errors were encountered: