coc-ccls

0.0.5 • Public • Published

coc-ccls

This is the coc.nvim extension for ccls.

This extension is still in pre-release development and is not ready for use. Track progress in this issue thread.

For the meantime, the following configuration for coc.nvim works very nicely for CCLS (copied from the coc.nvim wiki):

  "languageserver": {
    "ccls": {
      "command": "ccls",
      "filetypes": ["c", "cpp", "objc", "objcpp"],
      "rootPatterns": [".ccls", "compile_commands.json", ".vim/", ".git/", ".hg/"],
      "initializationOptions": {
         "cache": {
           "directory": "/tmp/ccls"
         }
       }
    }
  }

The original vscode-ccls project is fairly limited and offers few benefits over the above configuration at the time of writing.

Goals for this project include:

  • bundling binaries for CCLS to automate installation

See:

Package Sidebar

Install

npm i coc-ccls

Weekly Downloads

49

Version

0.0.5

License

MIT

Unpacked Size

141 kB

Total Files

31

Last publish

Collaborators

  • maxattax