Last active
November 19, 2018 07:57
-
-
Save sinetoami/abade0d5626937a9c9e7dece44513c1d to your computer and use it in GitHub Desktop.
Vim with Solargraph using LanguageClient-neovim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Plug Install | |
Plug 'autozimu/LanguageClient-neovim', { 'branch': 'next', 'do': 'bash install.sh' } | |
" start solargraph socket on terminal | |
" $ solargraph socket | |
" .vimrc config for LC-neovim using solargraph socket process | |
let g:LanguageClient_serverCommands = { 'ruby': ['tcp://localhost:7658'] } | |
" .vimrc config for LC-neovim autostart command for solargraph socket | |
" in this case isn't necessary start solargraph socket | |
let g:LanguageClient_serverCommands = { 'ruby': ['solargraph', 'stdio'] } | |
" reference issues | |
" https://github.com/autozimu/LanguageClient-neovim/issues/449 | |
" https://github.com/castwide/solargraph/issues/65 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment