aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2023-03-13 19:55:00 +0800
committerGitHub <noreply@github.com>2023-03-13 19:55:00 +0800
commit8746c7eb11f368efb90226f8a49eec57764ba06a (patch)
tree50f016a531781ec2627c4b688c8c5d88642f7dc4
parent7c4499728932fb8bbf30a479926489e90f3cfde0 (diff)
fix: omit the clangd missing message, close #180 (#186)
It is not necessary to install clangd if the user does not use neovim with CPP/C.
-rw-r--r--lua/config/lsp.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua
index 48253b9..4851921 100644
--- a/lua/config/lsp.lua
+++ b/lua/config/lsp.lua
@@ -154,8 +154,6 @@ if utils.executable("clangd") then
debounce_text_changes = 500,
},
}
-else
- vim.notify("clangd not found!", vim.log.levels.WARN, { title = "Nvim-config" })
end
-- set up vim-language-server