See https://github.com/voldikss/coc-extensions
coc.nvim extension for cmake language.
:CocInstall coc-cmake
:CocCommand cmake.onlineHelp
Properties
cmake.cmakePath
: Path to CMake generator executable.string
Default: "cmake"
cmake.formatter
: Path to [cmake-format](https://github.com/cheshirekow/cmake_format).string
Default: "cmake-format"
cmake.formatter_args
: Additional arguments to be passed down to the formatter.string[]
Default: []
cmake.lsp.enable
: Enable language server(https://github.com/regen100/cmake-language-server), Notice that the functionality(completion, formatting, etc.) of lsp and extension builtin can not coexist.boolean
Default: false
cmake.lsp.serverPath
: Path to [cmake-language-server](https://github.com/regen100/cmake-language-server).string
Default: "cmake-language-server"
cmake.lsp.buildDirectory
: See https://github.com/regen100/cmake-language-server#configuration.string
Default: "build"
MIT