Skip to content

Commit 040f0b9

Browse files
authored
Merge pull request #28 from regen100/add-doc
Add doc
2 parents 87879ee + ef2c31c commit 040f0b9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,13 @@ if executable('cmake-language-server')
6464
endif
6565
```
6666

67+
### Configuration
68+
* `buildDirectory`
69+
This language server uses CMake's file API to get cached variables.
70+
The API communicates using `<buildDirectory>/.cmake/api/`.
71+
`buildDirectory` is relative path to the root uri of the workspace.
72+
To configure the build tree, you need to run the cmake command such as `cmake .. -DFOO=bar`.
73+
74+
6775
[coc.nvim]: https://github.com/neoclide/coc.nvim
6876
[vim-lsp]: https://github.com/prabirshrestha/vim-lsp

0 commit comments

Comments
 (0)