From ef2c31c6a3f63107148adecd86dee49e60bf141a Mon Sep 17 00:00:00 2001 From: Regen Date: Sat, 22 Aug 2020 15:15:45 +0900 Subject: [PATCH] Add doc --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3a0bf1e..2d77e31 100644 --- a/README.md +++ b/README.md @@ -64,5 +64,13 @@ if executable('cmake-language-server') endif ``` +### Configuration +* `buildDirectory` + This language server uses CMake's file API to get cached variables. + The API communicates using `/.cmake/api/`. + `buildDirectory` is relative path to the root uri of the workspace. + To configure the build tree, you need to run the cmake command such as `cmake .. -DFOO=bar`. + + [coc.nvim]: https://github.com/neoclide/coc.nvim [vim-lsp]: https://github.com/prabirshrestha/vim-lsp