Back to Extensions Directory
Read the complete README
coc-cmake
voldiksscoc.nvim extension for cmake language
Installation CommandVim prompt
:CocInstall coc-cmake
GitHub owner
voldikssVersion
v0.2.2npm package
coc-cmakeRequirements
coc ^0.0.81
License
MIT
Repository
GitHubnpm latest published 2024-04-02Registry checked 2026-08-23Registry summary
Published Package Summary
coc-cmake
coc.nvim extension for cmake language.

Features
- Code completion
- Code formatting
- Hover documentation
- Online document help
Install
:CocInstall coc-cmake
References
License
MIT
- coc.nvim extension for cmake language
Activation Events
- onLanguage:cmake
Developer Resources
Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.
Open Developer GuideVersion History
This published npm package does not include a history.md or changelog.md file. Browse its npm versions or repository releases for available release information.
Contributed Commands
All contributes.commands entries from the published package manifest for coc-cmake@0.2.2.
| Command (:CocCommand) | Description |
|---|---|
| cmake.onlineHelp | CMake: Online Help |
Configuration Schema
All contributes.configuration entries from the published package manifest, including each raw property schema for coc-settings.json.
cmake.cmakePathstring
Path to CMake generator executable
Default: "cmake"
Raw JSON Schema
{
"type": "string",
"default": "cmake",
"description": "Path to CMake generator executable"
}cmake.formatterstring
Path to [cmake-format](https://github.com/cheshirekow/cmake_format)
Default: "cmake-format"
Raw JSON Schema
{
"type": "string",
"default": "cmake-format",
"description": "Path to [cmake-format](https://github.com/cheshirekow/cmake_format)"
}cmake.lsp.enableboolean
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
Default: false
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "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"
}cmake.formatter_argsarray
Additional arguments to be passed down to the formatter
Default: []
Raw JSON Schema
{
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Additional arguments to be passed down to the formatter"
}cmake.lsp.serverPathstring
Path to [cmake-language-server](https://github.com/regen100/cmake-language-server) or [neocmakelsp](https://github.com/Decodetalkers/neocmakelsp)
Default: "neocmakelsp"
Raw JSON Schema
{
"type": "string",
"default": "neocmakelsp",
"description": "Path to [cmake-language-server](https://github.com/regen100/cmake-language-server) or [neocmakelsp](https://github.com/Decodetalkers/neocmakelsp)"
}cmake.lsp.buildDirectorystring
See https://github.com/regen100/cmake-language-server#configuration
Default: "build"
Raw JSON Schema
{
"type": "string",
"default": "build",
"description": "See https://github.com/regen100/cmake-language-server#configuration"
}