summaryrefslogtreecommitdiffstats
path: root/vim
diff options
context:
space:
mode:
authoryushyin <yushyin@saga>2020-12-14 03:12:43 +0100
committeryushyin <yushyin@saga>2020-12-14 03:12:43 +0100
commit3ad56bc3eb53c77e6eb4df3f88865c7cdb570d88 (patch)
treea61970dc6372973b372a413b1e149afa21dc14e0 /vim
parent7c859ff2732f14c4a8a8cfb7cea3189651afa98c (diff)
downloaddotfiles-igor-3ad56bc3eb53c77e6eb4df3f88865c7cdb570d88.tar.gz
dotfiles-igor-3ad56bc3eb53c77e6eb4df3f88865c7cdb570d88.tar.xz
Vim: switched from ghcide to hls
Diffstat (limited to 'vim')
-rw-r--r--vim/files/dein.toml12
-rw-r--r--vim/files/vimrc6
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