Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/voldikss/coc-cmake
See https://github.com/voldikss/coc-extensions
https://github.com/voldikss/coc-cmake
cmake cmake-completion coc-nvim
Last synced: 5 days ago
JSON representation
See https://github.com/voldikss/coc-extensions
- Host: GitHub
- URL: https://github.com/voldikss/coc-cmake
- Owner: voldikss
- Archived: true
- Created: 2020-03-03T10:29:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-25T09:29:56.000Z (over 2 years ago)
- Last Synced: 2024-10-27T18:24:37.385Z (15 days ago)
- Topics: cmake, cmake-completion, coc-nvim
- Language: TypeScript
- Homepage:
- Size: 188 KB
- Stars: 97
- Watchers: 4
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-vim-setting - voldikss/coc-cmake
README
# coc-cmake
![publish](https://github.com/voldikss/coc-cmake/workflows/publish/badge.svg)
[![npm version](https://badge.fury.io/js/coc-cmake.svg)](https://badge.fury.io/js/coc-cmake)coc.nvim extension for cmake language.
![](https://user-images.githubusercontent.com/20282795/75767012-06869580-5d7d-11ea-9e89-8b8f173eed96.png)
![](https://user-images.githubusercontent.com/20282795/75767017-07b7c280-5d7d-11ea-900b-11eac5213b82.png)## Features
- Code completion
- Code formatting
- Hover documentation
- Online document help## Install
```
:CocInstall coc-cmake
```## Commands
- `:CocCommand cmake.onlineHelp`
## Configuration
Properties
cmake.cmakePath
: Path to CMake generator executable.
Type:Default:string
"cmake"
cmake.formatter
: Path to [cmake-format](https://github.com/cheshirekow/cmake_format).
Type:Default:string
"cmake-format"
cmake.formatter_args
: Additional arguments to be passed down to the formatter.
Type:Default: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:Default:boolean
false
cmake.lsp.serverPath
: Path to [cmake-language-server](https://github.com/regen100/cmake-language-server).
Type:Default:string
"cmake-language-server"
cmake.lsp.buildDirectory
: See https://github.com/regen100/cmake-language-server#configuration.
Type:Default:string
"build"
## References
- [vs.language.cmake](https://github.com/twxs/vs.language.cmake)
- [cmake-format](https://github.com/cheshirekow/cmake_format)
- [cmake-language-server](https://github.com/regen100/cmake-language-server)## License
MIT