mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-21 23:25:07 +00:00
Use per-user cache directory location
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
|
||||
|
Loading…
Reference in New Issue
Block a user