on master help sign in
Add languageclient-neovim info to README (#2806)
commitbbb1ffc5436e80422e4e95b50563aab0fab7e575 authorTobias Pflug <tobias.pflug@gmail.com> dateSun 8 Sep 2019, 16:36 (7 years ago) parentdfebb9c
1 file changed+15
README.md+15
README.md+15
@@ -89,6 +89,21 @@ If you don't already have [MELPA](https://melpa.org/#/) package installation con
8989
9090### Using with Vim/Neovim
9191
92+#### LanguageClient-neovim
93+Install [LanguageClient-neovim](https://github.com/autozimu/LanguageClient-neovim)
94+
95+Add this to your vim config:
96+```vim
97+let g:LanguageClient_rootMarkers = ['*.cabal', 'stack.yaml']
98+let g:LanguageClient_serverCommands = {
99+ \ 'rust': ['rls'],
100+ \ 'haskell': ['hie-core', '--lsp'],
101+ \ }
102+```
103+
104+Refer to `:he LanguageClient` for more details on usage and configuration.
105+
106+#### vim-lsp
92107Install [vim-lsp](https://github.com/prabirshrestha/vim-lsp).
93108
94109Add this to your vim config: