Files
neovim/runtime/lua/vim
Andrew Braxton 0a7e4e9e5f fix(lsp): vim.lsp.enable(...,false) does not disable #32002
Problem:
Per the documentation, passing `false` as the `enable` parameter of
`vim.lsp.enable()` should disable the given LSP(s), but it does not work
due to a logic error.

Specifically, `enable == false and nil or {}` will always evaluate to
`{}` because `nil` is falsy.

Solution:
Correct the conditional statement.
2025-01-15 01:58:36 -08:00
..
2024-10-23 14:13:42 +02:00
2025-01-11 10:34:12 +01:00
2024-03-06 10:45:22 +00:00
2025-01-11 10:34:12 +01:00
2024-01-16 09:33:10 +00:00
2025-01-09 09:26:45 -08:00
2024-09-01 13:01:24 -07:00