mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Use per-user cache directory location
parent
d6f5fb534c
commit
c825f034b0
@ -9,7 +9,7 @@ if executable('ccls')
|
|||||||
\ 'name': 'ccls',
|
\ 'name': 'ccls',
|
||||||
\ 'cmd': {server_info->['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'))},
|
\ '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'],
|
\ 'allowlist': ['c', 'cpp', 'objc', 'objcpp', 'cc'],
|
||||||
\ })
|
\ })
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user