summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vim/after/ftplugin/haskell.vim1
-rw-r--r--vim/vimrc2
2 files changed, 2 insertions, 1 deletions
diff --git a/vim/after/ftplugin/haskell.vim b/vim/after/ftplugin/haskell.vim
deleted file mode 100644
index aebbe1a..0000000
--- a/vim/after/ftplugin/haskell.vim
+++ /dev/null
@@ -1 +0,0 @@
-setlocal omnifunc=lsp#complete
diff --git a/vim/vimrc b/vim/vimrc
index 4c9dec0..ac03d93 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -127,6 +127,8 @@ if dein#tap('vim-lsp')
\ 'cmd': {server_info->['hie-wrapper']},
\ 'whitelist': ['haskell'],
\ })
+
+ au FileType haskell setl omnifunc=lsp#complete
endif
nnoremap [Lsp] <Nop>