coc.nvim extension for cmake language.
- Code completion
- Code formatting
- Hover documentation
- Online document help
:CocInstall coc-cmake
:CocCommand cmake.onlineHelp
Properties
cmake.cmakePath
: Path to CMake generator executable.
Type: string
"cmake"
cmake.formatter
: Path to [cmake-format](https://github.com/cheshirekow/cmake_format).
Type: string
"cmake-format"
cmake.formatter_args
: Additional arguments to be passed down to the formatter.
Type: string[]
[]
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.
Type: boolean
false
cmake.lsp.serverPath
: Path to [cmake-language-server](https://github.com/regen100/cmake-language-server).
Type: string
"cmake-language-server"
cmake.lsp.buildDirectory
: See https://github.com/regen100/cmake-language-server#configuration.
Type: string
"build"
MIT