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