From 90711272d525f124490ef78736457d98756df718 Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sun, 8 Jul 2012 13:24:37 -0400 Subject: [PATCH] changed config so that omni-completion loads for python files. --- .vimrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.vimrc b/.vimrc index a82cbd3..ef77029 100644 --- a/.vimrc +++ b/.vimrc @@ -2,8 +2,6 @@ colors koehler filetype plugin on filetype plugin indent on syntax on -let g:pydiction_location = '~/.vim/after/ftplugin/pydiction/complete-dict' - set bs=2 set nocompatible @@ -33,13 +31,12 @@ if has("autocmd") autocmd FileType html setlocal ts=2 sts=2 sw=2 expandtab autocmd FileType css setlocal ts=2 sts=2 sw=2 expandtab autocmd FileType javascript setlocal ts=4 sts=4 sw=4 noexpandtab + autocmd FileType python setlocal omnifunc=pythoncomplete#Complete " Treat .rss files as XML autocmd BufNewFile,BufRead *.rss setfiletype xml endif -autocmd FileType python set omnifunc=pythoncomplete#Complete - let g:miniBufExplMapWindowNavVim = 1 let g:miniBufExplMapWindowNavArrows = 1 let g:miniBufExplMapCTabSwitchBufs = 1