mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
Add nvim-lspconfig.md
parent
f77a865705
commit
8e6d8ba7e0
@ -11,6 +11,7 @@
|
|||||||
+ [[ALE]]
|
+ [[ALE]]
|
||||||
+ [[coc.nvim]]
|
+ [[coc.nvim]]
|
||||||
+ [[LanguageClient-neovim]]
|
+ [[LanguageClient-neovim]]
|
||||||
|
+ [[nvim-lspconfig]]
|
||||||
+ [[vim-lsp]]
|
+ [[vim-lsp]]
|
||||||
+ [[vim-lsc]]
|
+ [[vim-lsc]]
|
||||||
+ [[YouCompleteMe]]
|
+ [[YouCompleteMe]]
|
||||||
|
15
nvim-lspconfig.md
Normal file
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";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user