LazyVim.LazyVim/lua/lazyvim
Iordanis Petkakis 93342f15ba
feat(toggle): use vim.diagnostic.is_disabled when available (#2217)
* feat(toggle-diagnostics): change logic based on `vim.diagnostic.is_disabled`

After discussion in #2215, I thought maybe it would be beneficial if we
could change the logic of the `toggle-diagnostics` function based on if
the user has disabled diagnostics in his own configuration.

* feat(toggle-diagnostics): revert to `enable` instead of `status`

* fix(toggle): use vim.diagnostics enabled state when possible

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-01-21 20:41:11 +01:00
..
config fix(options): change default conceal level to 2 (#2053) 2024-01-21 20:34:07 +01:00
plugins fix(typescript): don't hardcode values in lua table (#2254) 2024-01-21 20:28:16 +01:00
util feat(toggle): use vim.diagnostic.is_disabled when available (#2217) 2024-01-21 20:41:11 +01:00
health.lua fix: cleanup all Neovim < 0.9.0 code 2023-10-01 14:18:25 +02:00
init.lua feat(config)!: LazyVim can now be configured like any other plugin with {"LazyVim/LazyVim", opts = ... }. config.settings is deprecated 2023-01-10 11:14:27 +01:00