summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nvim/init.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index b773828..0d5f9e8 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -212,7 +212,13 @@ lsp.set_sign_icons({
hint = "󰌶 "
})
-require("lspconfig").ccls.setup {}
+require("lspconfig").ccls.setup {
+ init_options = {
+ cache = {
+ directory = vim.fn.stdpath('cache') .. '/ccls'
+ }
+ }
+}
require("lspconfig").bashls.setup {}
require("lspconfig").nil_ls.setup {}
require'lspconfig'.pyright.setup {}