summaryrefslogtreecommitdiffstats
path: root/vim/ftplugin
diff options
context:
space:
mode:
authoryushyin <yushyin@saga>2018-09-29 14:29:24 +0200
committeryushyin <yushyin@saga>2018-09-29 14:47:21 +0200
commit34a5318c14117335f53004be724b6b7a0cc0b3f5 (patch)
tree0de5d2e66df282a52d8e6dc33b56082187270d9b /vim/ftplugin
parent8b7d61e5413a7b04f01f317320f48ce67a74a46f (diff)
downloaddotfiles-34a5318c14117335f53004be724b6b7a0cc0b3f5.tar.gz
dotfiles-34a5318c14117335f53004be724b6b7a0cc0b3f5.tar.xz
Vim: Add vim-lsp
Replace language specific autocompletion for Haskell, Rust and C/C++ with vim-lsp's omnifunc.
Diffstat (limited to 'vim/ftplugin')
-rw-r--r--vim/ftplugin/haskell.vim1
-rw-r--r--vim/ftplugin/rust.vim1
2 files changed, 1 insertions, 1 deletions
diff --git a/vim/ftplugin/haskell.vim b/vim/ftplugin/haskell.vim
index a3ed140..23a4130 100644
--- a/vim/ftplugin/haskell.vim
+++ b/vim/ftplugin/haskell.vim
@@ -1,3 +1,2 @@
setl tags+=codex.tags
-setl omnifunc=necoghc#omnifunc
setl ts=8 sts=4 sw=4 et sr
diff --git a/vim/ftplugin/rust.vim b/vim/ftplugin/rust.vim
new file mode 100644
index 0000000..aebbe1a
--- /dev/null
+++ b/vim/ftplugin/rust.vim
@@ -0,0 +1 @@
+setlocal omnifunc=lsp#complete