diff options
| author | Aleksa Vuckovic <aleksa@vuckovic.cc> | 2023-02-25 01:17:08 +0100 |
|---|---|---|
| committer | Aleksa Vuckovic <aleksa@vuckovic.cc> | 2023-02-25 01:17:08 +0100 |
| commit | 336b2de4b36ad9eafdef6c5e882bc08a66d7c959 (patch) | |
| tree | 838df5f79e13b8b598f81113cf83d9c98f9a405f /lua/user/lsp/ccls.lua | |
| parent | bbe5d2d967a1a77328c71e11823bb57d56ee044c (diff) | |
pcall now prints error, fixed cmp luasnip
Diffstat (limited to 'lua/user/lsp/ccls.lua')
| -rw-r--r-- | lua/user/lsp/ccls.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/user/lsp/ccls.lua b/lua/user/lsp/ccls.lua index b3393da..ef3c179 100644 --- a/lua/user/lsp/ccls.lua +++ b/lua/user/lsp/ccls.lua @@ -1,5 +1,6 @@ -local status, lspconfig = pcall(require, "lspconfig") -if not status then +local lspconfig_status, lspconfig = pcall(require, "lspconfig") +if not lspconfig_status then + print("lsp/ccls.lua: loading lspconfig failed") return end |
