Skip to content

Commit

Permalink
vim/coc: disabling clangd globally in WSL
Browse files Browse the repository at this point in the history
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.

clangd/coc-clangd#484
  • Loading branch information
sim590 committed Mar 2, 2023
1 parent cc15682 commit c8bf636
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions vim/coc-settings.json
Original file line number Diff line number Diff line change
@@ -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"],
Expand Down

0 comments on commit c8bf636

Please sign in to comment.