diff options
author | sinanmohd <sinan@firemail.cc> | 2023-09-27 22:39:57 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-09-28 10:10:52 +0530 |
commit | 75fba35ab32478fc709c0ae34e24e5a3322d1207 (patch) | |
tree | 66ccfebfd66c6003bcaef0c9829009065b9fb770 | |
parent | 9c7fccfc94b4e8156ed02b11f7847410fd02b8e2 (diff) |
nvim/lsp: move ccls cache to XDG_CACHE_HOME
-rw-r--r-- | .config/nvim/init.lua | 8 |
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 {} |