diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-09 00:03:10 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-09 00:03:10 +1200 |
commit | acb2ed1390d98516d8d1d5fd7ca83ed4d55af948 (patch) | |
tree | 0b2e1b11e12b4090860cf52560f2a2eb457b42dd /vim/compiler | |
parent | Remap g& to preserve substitution flags (diff) | |
download | dotfiles-acb2ed1390d98516d8d1d5fd7ca83ed4d55af948.tar.gz dotfiles-acb2ed1390d98516d8d1d5fd7ca83ed4d55af948.zip |
Remove unnecessary g: prefixes to Vim variables
Diffstat (limited to 'vim/compiler')
-rw-r--r-- | vim/compiler/bash.vim | 4 | ||||
-rw-r--r-- | vim/compiler/ksh.vim | 4 | ||||
-rw-r--r-- | vim/compiler/perlcritic.vim | 4 | ||||
-rw-r--r-- | vim/compiler/php.vim | 4 | ||||
-rw-r--r-- | vim/compiler/sh.vim | 4 | ||||
-rw-r--r-- | vim/compiler/shellcheck.vim | 4 | ||||
-rw-r--r-- | vim/compiler/vint.vim | 4 | ||||
-rw-r--r-- | vim/compiler/zsh.vim | 4 |
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> |