summaryrefslogtreecommitdiffstats
path: root/.config/nvim/plug-config/vim-lsp.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/plug-config/vim-lsp.vim')
-rw-r--r--.config/nvim/plug-config/vim-lsp.vim6
1 files changed, 4 insertions, 2 deletions
diff --git a/.config/nvim/plug-config/vim-lsp.vim b/.config/nvim/plug-config/vim-lsp.vim
index f416557..4accf36 100644
--- a/.config/nvim/plug-config/vim-lsp.vim
+++ b/.config/nvim/plug-config/vim-lsp.vim
@@ -1,10 +1,10 @@
-if executable('clangd')
+if executable('/usr/local/llvm10/bin/clangd')
augroup lsp_clangd
autocmd!
autocmd User lsp_setup call lsp#register_server({
\ 'name': 'clangd',
\ 'cmd': {server_info->['clangd']},
- \ 'whitelist': ['c', 'cpp', 'objc', 'objcpp'],
+ \ 'whitelist': ['c', 'cpp', 'objc', 'objcpp']
\ })
autocmd FileType c setlocal omnifunc=lsp#complete
autocmd FileType cpp setlocal omnifunc=lsp#complete
@@ -12,3 +12,5 @@ if executable('clangd')
autocmd FileType objcpp setlocal omnifunc=lsp#complete
augroup end
endif
+
+let g:lsp_signs_priority = 10