]> Sergey Matveev's repositories - dotfiles.git/blobdiff - vim/.vim/ftplugin/c/lsp.vim
Do not use vim-lsp-settings for simplicity
[dotfiles.git] / vim / .vim / ftplugin / c / lsp.vim
diff --git a/vim/.vim/ftplugin/c/lsp.vim b/vim/.vim/ftplugin/c/lsp.vim
new file mode 100644 (file)
index 0000000..878b7a8
--- /dev/null
@@ -0,0 +1,5 @@
+au User lsp_setup call lsp#register_server({
+\    "name": "clangd",
+\    "cmd": ["clangd60"],
+\    "whitelist": ["c", "cpp", "objc", "objcpp"],
+\})