Use per-user cache directory location

woky 2021-05-04 15:53:05 +02:00 committed by Fangrui Song
parent d6f5fb534c
commit c825f034b0

@ -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