diff options
author | Guangxiong Lin <[email protected]> | 2023-10-16 23:42:49 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-10-16 23:42:49 +0800 |
commit | efa422e91fb8b5d0cda5b00234c7682f24b6bf37 (patch) | |
tree | 9476d54da18e8f1e7c9a9ca0954b67e2205a548f /.vim/after/plugin/lsp.vim | |
parent | 90339b3e7fc55e18a1c4326ff48e67c78b11411a (diff) | |
download | dotfiles-efa422e91fb8b5d0cda5b00234c7682f24b6bf37.tar.gz dotfiles-efa422e91fb8b5d0cda5b00234c7682f24b6bf37.tar.bz2 dotfiles-efa422e91fb8b5d0cda5b00234c7682f24b6bf37.zip |
Add ruby vim config
Diffstat (limited to '.vim/after/plugin/lsp.vim')
-rw-r--r-- | .vim/after/plugin/lsp.vim | 8 |
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({ |