From 654e907668eb9f392c2fc15201d0f1bd7808be00 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 30 Oct 2017 17:28:00 +1300 Subject: Use single-quoted string in gvimrc vim-vint says: >Prefer single quoted strings (see Google VimScript Style Guide >(Strings)) Perl::Critic warns about a similar thing; don't use doublequotes if you don't need to expand e.g. \n, \r or interpolate variables. Makes sense to me. --- vim/gvimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vim') diff --git a/vim/gvimrc b/vim/gvimrc index 2db471da..286b84ba 100644 --- a/vim/gvimrc +++ b/vim/gvimrc @@ -1,7 +1,7 @@ " My choice of font changes depending on which operating system I'm using; " these are both workable monospace fonts, but Ubuntu Mono doesn't render very " nicely on Windows a lot of the time -if has("unix") +if has('unix') silent! set guifont=Ubuntu\ Mono\ 12 else silent! set guifont=Consolas:h11 -- cgit v1.2.3