diff options
author | yushyin <yushyin@saga> | 2019-04-27 21:57:46 +0200 |
---|---|---|
committer | yushyin <yushyin@saga> | 2019-04-27 21:57:46 +0200 |
commit | de19dd95494b2e3532d537b3f4ed2e9d64b849ef (patch) | |
tree | 1d92641efb03f97ce3f42274b497ee94868092a5 | |
parent | 587c5fb360426b32b4da5ece9eeb04e0d0e925fe (diff) | |
download | dotfiles-de19dd95494b2e3532d537b3f4ed2e9d64b849ef.tar.gz dotfiles-de19dd95494b2e3532d537b3f4ed2e9d64b849ef.tar.xz |
Vim: Merge ftplugin/rust.vim to vimrc
-rw-r--r-- | vim/ftplugin/rust.vim | 1 | ||||
-rw-r--r-- | vim/vimrc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/vim/ftplugin/rust.vim b/vim/ftplugin/rust.vim deleted file mode 100644 index aebbe1a..0000000 --- a/vim/ftplugin/rust.vim +++ /dev/null @@ -1 +0,0 @@ -setlocal omnifunc=lsp#complete @@ -118,6 +118,8 @@ if dein#tap('vim-lsp') \ 'cmd': {server_info->['rustup', 'run', 'nightly', 'rls']}, \ 'whitelist': ['rust'], \ }) + + au FileType rust setl omnifunc=lsp#complete endif if executable('hie-wrapper') au User lsp_setup call lsp#register_server({ |