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