diff --git a/coq/lsp/requests/lsp.lua b/coq/lsp/requests/lsp.lua index fa1a649a8..a5eef4cde 100644 --- a/coq/lsp/requests/lsp.lua +++ b/coq/lsp/requests/lsp.lua @@ -19,7 +19,14 @@ return function(client_name) vim.validate {client_name = {client_name, "string"}} local includes = acc[client_name] - return include_clients and includes or not includes + local yes = (function() + if include_clients then + return includes + else + return not includes + end + end)() + return yes end end end