aboutsummaryrefslogtreecommitdiff
path: root/vim/config/syntax.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config/syntax.vim')
-rw-r--r--vim/config/syntax.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/config/syntax.vim b/vim/config/syntax.vim
index 08b908c8..e7d94b1b 100644
--- a/vim/config/syntax.vim
+++ b/vim/config/syntax.vim
@@ -10,7 +10,7 @@ if has('syntax')
if has('eval') && v:version >= 701
" Wrap all this logic in a function
- function! DetectBackground()
+ function! s:DetectBackground()
" Split up the value of $COLORFGBG (if any) by semicolons
let l:colorfgbg = split($COLORFGBG, ';')
@@ -28,7 +28,7 @@ if has('syntax')
endfunction
" Call the function just defined directly
- call DetectBackground()
+ call s:DetectBackground()
" Ancient or cut-down Vim? Just go dark
else