aboutsummaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim')
-rw-r--r--.vim/after/plugin/lsp.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/.vim/after/plugin/lsp.vim b/.vim/after/plugin/lsp.vim
index be41ceb..445df77 100644
--- a/.vim/after/plugin/lsp.vim
+++ b/.vim/after/plugin/lsp.vim
@@ -57,6 +57,17 @@ if executable('godot')
\ })
endif
+if executable('solargraph')
+ au User lsp_setup call lsp#register_server({
+ \ 'name': 'solargraph',
+ \ 'cmd': {server_info->['solargraph', 'stdio']},
+ \ 'initialization_options': {
+ \ 'diagnostics': 'true'
+ \ },
+ \ 'allowlist': ['ruby'],
+ \ })
+endif
+
" https://github.com/mickael-menu/zk
" if executable('zk')
" au User lsp_setup call lsp#register_server({