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
..
2025-01-14 05:02:46 -08:00
2025-01-11 11:20:19 +01:00
2025-01-05 12:28:01 +01:00
2025-01-13 15:17:23 -08:00
2024-10-23 14:13:42 +02:00
2025-01-14 09:30:43 +00:00
2024-11-17 13:31:24 -08:00
2025-01-09 13:35:42 +01:00
2025-01-11 10:34:12 +01:00
2024-12-07 16:58:40 +00:00
2024-10-21 00:54:43 +02:00
2025-01-11 10:34:12 +01:00
2024-12-20 01:43:56 -08:00
2024-10-21 11:32:06 +01:00
2025-01-11 12:54:43 -06:00
2025-01-14 18:55:06 +08:00
2025-01-14 16:39:17 -08:00
2025-01-05 12:28:01 +01:00
2024-10-31 11:55:23 +00:00
2025-01-09 09:26:45 -08:00
2024-10-21 11:32:06 +01:00
2024-10-21 11:32:06 +01:00
2024-12-04 10:17:46 -06:00
2025-01-15 01:58:36 -08:00
2024-10-21 11:32:06 +01:00
2025-01-09 08:36:16 -08:00
2024-10-31 11:55:23 +00:00
2024-11-26 13:56:01 -06:00
2025-01-12 08:10:49 -08:00
2024-10-31 11:55:23 +00:00
2024-12-11 05:48:17 -08:00
2024-12-23 05:08:20 -08:00