mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-24 12:45:24 +02:00
treewide: use boolean comparison to simplify the code base
This commit is contained in:
parent
5066c71549
commit
e908e344f4
18 changed files with 29 additions and 64 deletions
|
@ -236,11 +236,8 @@ in
|
|||
!(
|
||||
# leanls lsp server is disabled in nvim-lspconfig
|
||||
config.plugins.lsp.servers.leanls.enable
|
||||
# lsp is not (!) disabled in the lean.nvim plugin
|
||||
&& !(
|
||||
# lsp is explicitly set to `false`.
|
||||
(isBool cfg.lsp.enable) && !cfg.lsp.enable
|
||||
)
|
||||
# lsp is not explicitly disabled in the lean.nvim plugin
|
||||
&& (cfg.lsp.enable != false)
|
||||
);
|
||||
message = ''
|
||||
You have not explicitly set `plugins.lean.lsp` to `false` while having `plugins.lsp.servers.leanls.enable` set to `true`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue