Skip to content
beepsort edited this page Dec 8, 2021 · 3 revisions

Install nvim-lspconfig according to the instructions in its README.

https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/server_configurations/ccls.lua has a built-in rule for ccls. You can customize initialization options with:

local lspconfig = require('lspconfig')
lspconfig.ccls.setup {
  init_options = {
    cache = {
      directory = ".ccls-cache";
    };
  }
}
Clone this wiki locally