Sublime Forum

How can i install cmake language server for ST

#1

I am looking for a language server for CMake. I found a server here.

I installed LSP base package and added the client in the preferences:

{
  "clients":
  {
    "cmake-lc": {
      "command": ["/home/user/.local/bin/cmake-language-server"],
      "enabled": true,
      "scopes": ["source.cmake"],
      "syntaxes": [
        "Packages/Sublime-CMakeLists/CMake.sublime-syntax"
      ]
    }
  }
}

one question about this: can i give the client any name i like?

when i open the LSP log panel in ST there is no signs of life

0 Likes