From ecbc3019da246bafe62034c636bb839ad8a4fd8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Fri, 31 Oct 2014 16:19:09 +0100 Subject: [vim] YCM --- .vim/bundles.vim | 3 +++ .vim/ftplugin/haskell.vim | 1 + .vimrc | 8 +++++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.vim/bundles.vim b/.vim/bundles.vim index 4d11f3f..9de46a3 100644 --- a/.vim/bundles.vim +++ b/.vim/bundles.vim @@ -74,5 +74,8 @@ Plugin 'lukerandall/haskellmode-vim' Plugin 'eagletmt/ghcmod-vim' Plugin 'eagletmt/neco-ghc' +" YCM +Plugin 'Valloric/YouCompleteMe' + call vundle#end() filetype plugin indent on " required! diff --git a/.vim/ftplugin/haskell.vim b/.vim/ftplugin/haskell.vim index a1ad287..8063e58 100644 --- a/.vim/ftplugin/haskell.vim +++ b/.vim/ftplugin/haskell.vim @@ -6,6 +6,7 @@ set shiftwidth=4 "An indent is 4 spaces set shiftround "Round indent to nearest shiftwidth multiple let g:haskellmode_completion_ghc=0 +let g:haskellmode_completion_haddock=0 let g:necoghc_enable_detailed_browse=1 set omnifunc=necoghc#omnifunc diff --git a/.vimrc b/.vimrc index 3e0e787..f901602 100644 --- a/.vimrc +++ b/.vimrc @@ -96,9 +96,6 @@ nmap L TaskList nmap P ToggleProject " others -map gt -map gT -"imap nmap :ls:buf nmap t :ToggleWord @@ -159,7 +156,12 @@ let g:GPGUsePipes = 1 let g:UltiSnipsEditSplit = "vertical" " vundle inserts UltiSnips BEFORE our ~/.vim let g:UltiSnipsDontReverseSearchPath="1" +let g:UltiSnipsListSnippets="" +let g:UltiSnipsExpandTrigger="" +let g:UltiSnipsJumpForwardTrigger="" +" YCM +let g:ycm_semantic_triggers = {'haskell' : ['re!\w\.']} " ======================================================= " FINAL -- cgit v1.2.3