From 8e6d8ba7e0a78c1df1f4664db853c443a0b1e48e Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 9 Jan 2021 11:45:30 -0800 Subject: [PATCH] Add nvim-lspconfig.md --- _Sidebar.md | 1 + nvim-lspconfig.md | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 nvim-lspconfig.md diff --git a/_Sidebar.md b/_Sidebar.md index e54f545..21eb79e 100644 --- a/_Sidebar.md +++ b/_Sidebar.md @@ -11,6 +11,7 @@ + [[ALE]] + [[coc.nvim]] + [[LanguageClient-neovim]] + + [[nvim-lspconfig]] + [[vim-lsp]] + [[vim-lsc]] + [[YouCompleteMe]] diff --git a/nvim-lspconfig.md b/nvim-lspconfig.md new file mode 100644 index 0000000..c1f5718 --- /dev/null +++ b/nvim-lspconfig.md @@ -0,0 +1,15 @@ +Install [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) according to the instructions in its README. + + 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"; + }; + } +} +```