From 19e8cb46ebbe4e47414e9310a903a5ddd5145677 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 26 Feb 2012 04:29:11 +0100 Subject: [PATCH] vimrc: Prefer '..' for strings. --- vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index 7a56542..11aae8d 100644 --- a/vimrc +++ b/vimrc @@ -478,7 +478,7 @@ if has('syntax') 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 @@ -520,7 +520,7 @@ if has('autocmd') " 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. @@ -598,7 +598,7 @@ if has('eval') " 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 -- 2.45.2