|
|
@ -46,6 +46,9 @@ if has("autocmd") |
|
|
|
\ endif |
|
|
|
\ endif |
|
|
|
|
|
|
|
|
|
|
|
augroup END |
|
|
|
augroup END |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Python files should not have empty lines |
|
|
|
|
|
|
|
autocmd FileType python autocmd BufWritePre <buffer> :%s/\s\+$//e |
|
|
|
else |
|
|
|
else |
|
|
|
set autoindent " always set autoindenting on |
|
|
|
set autoindent " always set autoindenting on |
|
|
|
endif " has("autocmd") |
|
|
|
endif " has("autocmd") |
|
|
@ -140,7 +143,7 @@ Bundle 'godlygeek/tabular' |
|
|
|
Bundle 'jiangmiao/auto-pairs' |
|
|
|
Bundle 'jiangmiao/auto-pairs' |
|
|
|
|
|
|
|
|
|
|
|
" powerline settings |
|
|
|
" powerline settings |
|
|
|
let g:Powerline_symbols = 'fancy' |
|
|
|
""let g:Powerline_symbols = 'fancy' |
|
|
|
|
|
|
|
|
|
|
|
" auto-pair settings |
|
|
|
" auto-pair settings |
|
|
|
let g:AutoPairsMapCR = 1 |
|
|
|
let g:AutoPairsMapCR = 1 |
|
|
|