From c6b0a60340e57913897e3db48aa206f23ad5d7da Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 10 May 2019 10:42:17 +1200 Subject: Remove unneeded variable scoping from .vimrc --- vim/vimrc | 6 +++--- 1 file 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 -- cgit v1.2.3