let g:python_highlight_all = 1
" Vim.
let g:vimsyn_embed = 0 " don't highlight embedded languages
- let g:vimsyn_folding = "af" " folding for autogroups (a) and functions (f)
+ let g:vimsyn_folding = 'af' " folding for autogroups (a) and functions (f)
" XML.
let g:xml_syntax_folding = 1
endif
" Go to last position of opened files. Taken from :help last-position-jump.
autocmd BufReadPost *
- \ if line("'\"") > 1 && line("'\"") <= line("$") |
+ \ if line("'\"") > 1 && line("'\"") <= line('$') |
\ execute "normal! g'\"" |
\ endif
" But not for Git commits, go to beginning of the file.
" file it was loaded from, thus the changes you made. Thanks to the
" vimrc_example.vim file in Vim's source. Modified to use the same filetype
" for the diffed file than the filetype for the original file.
- if !exists(":DiffOrig")
+ if !exists(':DiffOrig')
command DiffOrig
\ let s:diff_orig_filetype = &filetype
\ | vertical new