aboutsummaryrefslogtreecommitdiff
path: root/vim/gvimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 17:28:00 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 17:28:00 +1300
commit654e907668eb9f392c2fc15201d0f1bd7808be00 (patch)
tree16f522269f92fbe8516daf27511daea643efffb1 /vim/gvimrc
parentRemove 'nocompatible' setting (diff)
downloaddotfiles-654e907668eb9f392c2fc15201d0f1bd7808be00.tar.gz
dotfiles-654e907668eb9f392c2fc15201d0f1bd7808be00.zip
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.
Diffstat (limited to 'vim/gvimrc')
-rw-r--r--vim/gvimrc2
1 files changed, 1 insertions, 1 deletions
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