From 75fba35ab32478fc709c0ae34e24e5a3322d1207 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 27 Sep 2023 22:39:57 +0530 Subject: nvim/lsp: move ccls cache to XDG_CACHE_HOME --- .config/nvim/init.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 {} -- cgit v1.2.3