aboutsummaryrefslogtreecommitdiff
path: root/vim/compiler
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-09 00:03:10 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-09 00:03:10 +1200
commitacb2ed1390d98516d8d1d5fd7ca83ed4d55af948 (patch)
tree0b2e1b11e12b4090860cf52560f2a2eb457b42dd /vim/compiler
parentRemap g& to preserve substitution flags (diff)
downloaddotfiles-acb2ed1390d98516d8d1d5fd7ca83ed4d55af948.tar.gz
dotfiles-acb2ed1390d98516d8d1d5fd7ca83ed4d55af948.zip
Remove unnecessary g: prefixes to Vim variables
Diffstat (limited to 'vim/compiler')
-rw-r--r--vim/compiler/bash.vim4
-rw-r--r--vim/compiler/ksh.vim4
-rw-r--r--vim/compiler/perlcritic.vim4
-rw-r--r--vim/compiler/php.vim4
-rw-r--r--vim/compiler/sh.vim4
-rw-r--r--vim/compiler/shellcheck.vim4
-rw-r--r--vim/compiler/vint.vim4
-rw-r--r--vim/compiler/zsh.vim4
8 files changed, 16 insertions, 16 deletions
diff --git a/vim/compiler/bash.vim b/vim/compiler/bash.vim
index 832e9120..ca418c24 100644
--- a/vim/compiler/bash.vim
+++ b/vim/compiler/bash.vim
@@ -1,7 +1,7 @@
-if exists('g:current_compiler')
+if exists('current_compiler')
finish
endif
-let g:current_compiler = 'bash'
+let current_compiler = 'bash'
if exists(':CompilerSet') != 2
command -nargs=* CompilerSet setlocal <args>
diff --git a/vim/compiler/ksh.vim b/vim/compiler/ksh.vim
index be552972..759aae02 100644
--- a/vim/compiler/ksh.vim
+++ b/vim/compiler/ksh.vim
@@ -1,7 +1,7 @@
-if exists('g:current_compiler')
+if exists('current_compiler')
finish
endif
-let g:current_compiler = 'ksh'
+let current_compiler = 'ksh'
if exists(':CompilerSet') != 2
command -nargs=* CompilerSet setlocal <args>
diff --git a/vim/compiler/perlcritic.vim b/vim/compiler/perlcritic.vim
index 0d61487b..341fc9c8 100644
--- a/vim/compiler/perlcritic.vim
+++ b/vim/compiler/perlcritic.vim
@@ -1,7 +1,7 @@
-if exists('g:current_compiler')
+if exists('current_compiler')
finish
endif
-let g:current_compiler = 'perlcritic'
+let current_compiler = 'perlcritic'
if exists(':CompilerSet') != 2
command -nargs=* CompilerSet setlocal <args>
diff --git a/vim/compiler/php.vim b/vim/compiler/php.vim
index 2d5f4f69..66313bba 100644
--- a/vim/compiler/php.vim
+++ b/vim/compiler/php.vim
@@ -1,7 +1,7 @@
-if exists('g:current_compiler') || &compatible
+if exists('current_compiler') || &compatible
finish
endif
-let g:current_compiler = 'php'
+let current_compiler = 'php'
if exists(':CompilerSet') != 2
command -nargs=* CompilerSet setlocal <args>
diff --git a/vim/compiler/sh.vim b/vim/compiler/sh.vim
index a62a00db..d4134e6e 100644
--- a/vim/compiler/sh.vim
+++ b/vim/compiler/sh.vim
@@ -1,7 +1,7 @@
-if exists('g:current_compiler')
+if exists('current_compiler')
finish
endif
-let g:current_compiler = 'sh'
+let current_compiler = 'sh'
if exists(':CompilerSet') != 2
command -nargs=* CompilerSet setlocal <args>
diff --git a/vim/compiler/shellcheck.vim b/vim/compiler/shellcheck.vim
index 354291f6..c2cf04de 100644
--- a/vim/compiler/shellcheck.vim
+++ b/vim/compiler/shellcheck.vim
@@ -1,7 +1,7 @@
-if exists('g:current_compiler')
+if exists('current_compiler')
finish
endif
-let g:current_compiler = 'shellcheck'
+let current_compiler = 'shellcheck'
if exists(':CompilerSet') != 2
command -nargs=* CompilerSet setlocal <args>
diff --git a/vim/compiler/vint.vim b/vim/compiler/vint.vim
index db75d3c6..e0d0b076 100644
--- a/vim/compiler/vint.vim
+++ b/vim/compiler/vint.vim
@@ -1,7 +1,7 @@
-if exists('g:current_compiler')
+if exists('current_compiler')
finish
endif
-let g:current_compiler = 'vimlint'
+let current_compiler = 'vimlint'
if exists(':CompilerSet') != 2
command -nargs=* CompilerSet setlocal <args>
diff --git a/vim/compiler/zsh.vim b/vim/compiler/zsh.vim
index c9290b8d..4fc5f30e 100644
--- a/vim/compiler/zsh.vim
+++ b/vim/compiler/zsh.vim
@@ -1,7 +1,7 @@
-if exists('g:current_compiler')
+if exists('current_compiler')
finish
endif
-let g:current_compiler = 'zsh'
+let current_compiler = 'zsh'
if exists(':CompilerSet') != 2
command -nargs=* CompilerSet setlocal <args>