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
parentf258f31aecae5ee7ef823aa7a6d24d40aaf4b531 (diff)
downloaddotfiles-c6b0a60340e57913897e3db48aa206f23ad5d7da.tar.gz
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