CMake LSP Implementation.
Alpha Stage, work in progress.
cmake-format
)cmake-language-server
: LSP server$ pip install cmake-language-server
if executable('cmake-language-server') au User lsp_setup call lsp#register_server({ \ 'name': 'cmake', \ 'cmd': {server_info->['cmake-language-server']}, \ 'root_uri': {server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), 'build/'))}, \ 'whitelist': ['cmake'], \ 'initialization_options': { \ 'buildDirectory': 'build', \ } \}) endif
buildDirectory
This language server uses CMake's file API to get cached variables. The API communicates using <buildDirectory>/.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
.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4