diff options
-rw-r--r-- | vim/files/dein.toml | 12 | ||||
-rw-r--r-- | vim/files/vimrc | 6 |
2 files changed, 15 insertions, 3 deletions
diff --git a/vim/files/dein.toml b/vim/files/dein.toml index b51db5f..5aebe78 100644 --- a/vim/files/dein.toml +++ b/vim/files/dein.toml @@ -118,3 +118,15 @@ repo = 'prabirshrestha/async.vim' repo = 'prabirshrestha/vim-lsp' lazy = 0 depends = ['async.vim'] + +[[plugins]] +repo = 'thomasfaingnaert/vim-lsp-snippets' +lazy = 0 +if=0 +depends = ['vim-lsp'] + +[[plugins]] +repo = 'thomasfaingnaert/vim-lsp-neosnippet' +lazy = 0 +if=0 +depends = ['vim-lsp-snippets'] diff --git a/vim/files/vimrc b/vim/files/vimrc index 888fd17..7861cc9 100644 --- a/vim/files/vimrc +++ b/vim/files/vimrc @@ -129,10 +129,10 @@ if dein#tap('vim-lsp') \ }) endif - if executable('ghcide') + if executable('haskell-language-server-wrapper') au User lsp_setup call lsp#register_server({ - \ 'name': 'ghcide', - \ 'cmd': {server_info->['ghcide', '--lsp']}, + \ 'name': 'hls', + \ 'cmd': {server_info->['haskell-language-server-wrapper', '--lsp']}, \ 'whitelist': ['haskell'], \ }) endif |