aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-10 10:42:17 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-10 10:42:17 +1200
commitc6b0a60340e57913897e3db48aa206f23ad5d7da (patch)
treee96f4a303b4ac31a5f283d54aa8298affb04a758
parentMerge branch 'release/v4.20.0' into develop (diff)
downloaddotfiles-c6b0a60340e57913897e3db48aa206f23ad5d7da.tar.gz
dotfiles-c6b0a60340e57913897e3db48aa206f23ad5d7da.zip
Remove unneeded variable scoping from .vimrc
-rw-r--r--vim/vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index d996e1c6..67100d0b 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -15,7 +15,7 @@ endif
" Load filetype settings, plugins, and maps
if has('autocmd')
- let g:maplocalleader = ','
+ let maplocalleader = ','
filetype plugin indent on
endif
@@ -23,7 +23,7 @@ endif
if has('syntax')
" Use syntax highlighting
- if !exists('g:syntax_on')
+ if !exists('syntax_on')
syntax enable
endif
@@ -33,7 +33,7 @@ if has('syntax')
endif
" If my colorscheme loaded, turn on subtle 'cursorline' coloring
- if exists('g:colors_name') && g:colors_name ==# 'sahara'
+ if exists('colors_name') && colors_name ==# 'sahara'
if exists('+cursorline')
set cursorline
endif