changed config so that omni-completion loads for python files.
This commit is contained in:
parent
cdf4eb706d
commit
90711272d5
5
.vimrc
5
.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
|
||||
|
Loading…
Reference in New Issue
Block a user