Replies: 1 comment 3 replies
-
I also checked |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
nvim-tree.lua/lua/nvim-tree/diagnostics.lua
Line 44 in 26632f4
I am trying to write a keybind to turn off diagnostics.
This works for my diagnostics all buffers but does not work for nvim-tree.
So I am trying to find a function which can toggle Diagnostics for nvim-tree in runtime.
Sadly, nvim-tree does not have anything like this.
So I checked the code , and I found this flag.
Then I add enable and enable(false) in my keybindings.
like this
It didn't not work either, and I checked status using
:lua print(vim.diagnostic.is_disabled())
.But nvim-tree still won't hide the diagnostic.
Can anybody in this community help me?
Beta Was this translation helpful? Give feedback.
All reactions