Add nvim-lspconfig.md

Fangrui Song 2021-01-09 11:45:30 -08:00
parent f77a865705
commit 8e6d8ba7e0
2 changed files with 16 additions and 0 deletions

@ -11,6 +11,7 @@
+ [[ALE]]
+ [[coc.nvim]]
+ [[LanguageClient-neovim]]
+ [[nvim-lspconfig]]
+ [[vim-lsp]]
+ [[vim-lsc]]
+ [[YouCompleteMe]]

15
nvim-lspconfig.md Normal file

@ -0,0 +1,15 @@
Install [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) according to the instructions in its README.
<https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/ccls.lua> has a built-in rule for ccls.
You can customize initialization options with:
```lua
local lspconfig = require'lspconfig'
lspconfig.ccls.setup {
init_options = {
cache = {
directory = ".ccls-cache";
};
}
}
```