I 've recently started to code on Vim and while it's not easy, it's worth it. I am struggling to figure out basic things that I had for granted in an IDE like KDevelop or VSCode especially when it comes to browsing the code by finding references, having autocomplete etc.
Lucky for me I have found CoC (-clangd etc). But I am getting an error which I can't quite understand and debug:
[coc.nvim] Looks like you've configured clangd in coc-settings.json, you should
 remove it to use coc-clangd
Of course I have configured clangd inside this file exactly because the coc-clangd plugin wants me to like this.
My coc-settings.json:
  {
          "languageserver":
          {
                  "clangd":
                  {
                          "command": "clangd",
                          "rootPatterns": ["compile_flags.txt",
                                          "compile_commands.json"],
                          "filetypes":["c",
                                          "cc",
                                          "cpp",
                                          "c++",
                                          "objc",
                                          "objcpp"]
                  },
                  "cmake":
                  {
                          "command": "cmake-language-server",
                          "filetypes": ["cmake"],
                          "rootPatterns": ["build/"],
                          "initializationOptions":
                          { 
                                  "buildDirectory": "build"
                          }
                  }
          }
          
  }
Autocompleting (printf for example) works normally. So what is this warning about? Is my configuration wrong or am I missing something from my setup?
Thanks in advance.
EDIT: I used to edit the inner "clangd" string while it should be like this:
 {
          "languageserver":
          {
                  "coc-clangd": <-- This
                  {
                          "command": "clangd",
Thank you very much.