diff options
author | christianchiarulli <[email protected]> | 2021-07-25 13:58:34 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-25 13:58:34 -0400 |
commit | 924565feba27661bfe4ccc413a72e2b27e590061 (patch) | |
tree | 7815d76ebc09661f296f2bf13e192f0da2b4cbc2 /lua/lsp/null-ls.lua | |
parent | 145661ca972da3d349f6909b20f3ffbaf972ee44 (diff) |
fix csharp
Diffstat (limited to 'lua/lsp/null-ls.lua')
-rw-r--r-- | lua/lsp/null-ls.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lua/lsp/null-ls.lua b/lua/lsp/null-ls.lua index 5611be8d..15fd3628 100644 --- a/lua/lsp/null-ls.lua +++ b/lua/lsp/null-ls.lua @@ -62,10 +62,12 @@ local function setup(filetype, type) if is_table(executables) then for _, exe in pairs(executables) do - setup_ls(exe, type) + if exe ~= "" then + setup_ls(exe, type) + end end end - if is_string(executables) then + if is_string(executables) and executables ~= "" then setup_ls(executables, type) end end |