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-12-31 09:59:03 -06:00
2025-01-15 09:48:55 +01:00
2024-12-28 00:35:32 +01:00
2025-01-14 16:39:17 -08:00
2025-01-11 00:44:06 +01:00
2024-12-23 11:34:23 +01:00
2024-06-14 23:58:27 +02:00
2025-01-15 01:58:36 -08:00
2025-01-04 20:11:43 +01:00
2025-01-04 20:11:43 +01:00
2024-11-22 09:39:45 +01:00
2024-10-15 20:50:21 +02:00
2022-03-13 04:52:45 +00:00
2025-01-14 13:23:02 +01:00
2024-10-27 06:50:17 -07:00
2024-10-15 20:50:21 +02:00
2023-08-13 13:25:10 +01:00
2024-12-06 20:57:21 +08:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2023-08-13 13:25:10 +01:00
2024-01-16 17:45:57 +00:00
2024-10-14 09:27:29 +08:00
2022-10-13 05:48:12 -07:00
2024-05-16 14:34:32 +02:00
2024-08-29 06:11:32 +08:00
2019-03-11 21:00:12 +01:00
2024-12-08 07:06:16 +08:00
2024-01-16 17:45:57 +00:00
2024-07-02 13:05:16 +02:00