diff options
| -rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -225,6 +225,7 @@ that config. - [bashls](#bashls) - [ccls](#ccls) - [clangd](#clangd) +- [cmake](#cmake) - [codeqlls](#codeqlls) - [cssls](#cssls) - [dartls](#dartls) @@ -793,6 +794,27 @@ require'nvim_lsp'.clangd.setup{} root_dir = root_pattern("compile_commands.json", "compile_flags.txt", ".git") or dirname ``` +## cmake + +https://github.com/regen100/cmake-language-server + +CMake LSP Implementation + + +```lua +require'nvim_lsp'.cmake.setup{} + + Commands: + + Default Values: + cmd = { "cmake-language-server" } + filetypes = { "cmake" } + init_options = { + buildDirectory = "build" + } + root_dir = root_pattern(".git", "compile_commands.json", "build") +``` + ## codeqlls Reference: |
