From c8bf636380d32b6fe242c36150210c499f54f76f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20D=C3=A9saulniers?= Date: Fri, 29 Jul 2022 15:21:04 -0400 Subject: [PATCH] vim/coc: disabling clangd globally in WSL Issues surrounding calling clangd.exe prevents coc.vim to work with clangd for Windows based projects. It could be enabled locally for any other non-Windows project with :CocLocalConfig. https://github.com/clangd/coc-clangd/issues/484 --- vim/coc-settings.json | 5 ----- 1 file changed, 5 deletions(-) diff --git a/vim/coc-settings.json b/vim/coc-settings.json index 335e3d8..bd1f8bf 100644 --- a/vim/coc-settings.json +++ b/vim/coc-settings.json @@ -1,10 +1,5 @@ { "languageserver": { - "clangd": { - "command": "clangd", - "rootPatterns": ["compile_flags.txt", "compile_commands.json"], - "filetypes": ["c", "cc", "cpp", "c++", "objc", "objcpp"] - }, "haskell": { "command": "haskell-language-server-wrapper", "args": ["--lsp", "--debug", "-l", "/tmp/hls.log"],