diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-20 23:12:00 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-20 23:12:19 +1200 |
commit | 10a49511325c57bbc5e08ce4d550a68b261e2c29 (patch) | |
tree | 1851840c90c5261434f6872cc80abc87f9ba1b83 /vim | |
parent | Remove unnecessary 'undofile' settings (diff) | |
download | dotfiles-10a49511325c57bbc5e08ce4d550a68b261e2c29.tar.gz dotfiles-10a49511325c57bbc5e08ce4d550a68b261e2c29.zip |
Use more idiomatic `if 1` in .vimrc
These blocks are to exclude vim-tiny from trying to run :let commands,
which it can't do; the usual way this seems to be turned off is checking
the value "1", rather than the 'eval' feature.
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ if has('multi_byte') endif " Use different keys for global and local leaders -if has('eval') +if 1 let g:mapleader = '\' let g:maplocalleader = '_' endif @@ -321,7 +321,7 @@ endif " Disable most core plugin stuff that I don't use; after/plugin/dist.vim " clears these variables later -if has('eval') +if 1 " 2html.vim is often useful, so keep that " matchparen.vim I use constantly |