From c825f034b0309369a358e8bfe4f5268c8f059132 Mon Sep 17 00:00:00 2001 From: woky Date: Tue, 4 May 2021 15:53:05 +0200 Subject: [PATCH] Use per-user cache directory location --- vim-lsp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim-lsp.md b/vim-lsp.md index 1b47d7c..9d148e5 100644 --- a/vim-lsp.md +++ b/vim-lsp.md @@ -9,7 +9,7 @@ if executable('ccls') \ 'name': 'ccls', \ 'cmd': {server_info->['ccls']}, \ 'root_uri': {server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), 'compile_commands.json'))}, - \ 'initialization_options': {'cache': {'directory': '/tmp/ccls/cache' }}, + \ 'initialization_options': {'cache': {'directory': expand('~/.cache/ccls') }}, \ 'allowlist': ['c', 'cpp', 'objc', 'objcpp', 'cc'], \ }) endif