Style fixes (via vint) (#662)

This also adds a augroup for `jedi#add_goto_window`.
This commit is contained in:
Daniel Hahler
2017-01-29 11:55:55 +01:00
committed by Dave Halter
parent f100ffad4d
commit eba90e615d
5 changed files with 110 additions and 87 deletions

View File

@@ -4,10 +4,12 @@
" This part of the software is just the vim interface. The really big deal is
" the Jedi Python library.
if !exists("g:jedi#auto_vim_configuration") || g:jedi#auto_vim_configuration
if get(g:, 'jedi#auto_vim_configuration', 0)
" jedi-vim doesn't work in compatible mode (vim script syntax problems)
if &compatible
" vint: -ProhibitSetNoCompatible
set nocompatible
" vint: +ProhibitSetNoCompatible
endif
" jedi-vim really needs, otherwise jedi-vim cannot start.