aboutsummaryrefslogtreecommitdiff
path: root/settings/clangd.vim
diff options
context:
space:
mode:
Diffstat (limited to 'settings/clangd.vim')
-rw-r--r--settings/clangd.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/clangd.vim b/settings/clangd.vim
index 4c9ba11..d9beadf 100644
--- a/settings/clangd.vim
+++ b/settings/clangd.vim
@@ -2,7 +2,7 @@ augroup vimlsp_settings_clangd
au!
autocmd User lsp_setup call lsp#register_server({
\ 'name': 'clangd',
- \ 'cmd': lsp_settings#get('clangd', 'cmd', {server_info->[lsp_settings#exec_path('clangd')]}),
+ \ 'cmd': {server_info->lsp_settings#get('clangd', 'cmd', [lsp_settings#exec_path('clangd')])},
\ 'initialization_options': lsp_settings#get('clangd', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('clangd', 'whitelist', ['c', 'cpp', 'objc', 'objcpp']),
\ 'blacklist': lsp_settings#get('clangd', 'blacklist', []),