diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-24 16:23:49 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-24 16:23:49 +1200 |
commit | 3c1a73c62f97ff01deb8c7f63ae60c82f04e2ccd (patch) | |
tree | c60b33403ebe0b94f1703f1a5e954241b4a7052a /plugin | |
parent | Merge branch 'hotfix/v1.0.2' into develop (diff) | |
download | vim-replace-operator-3c1a73c62f97ff01deb8c7f63ae60c82f04e2ccd.tar.gz vim-replace-operator-3c1a73c62f97ff01deb8c7f63ae60c82f04e2ccd.zip |
Remove unneeded variable scoping
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/replace_operator.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/replace_operator.vim b/plugin/replace_operator.vim index a8cf835..2fc935c 100644 --- a/plugin/replace_operator.vim +++ b/plugin/replace_operator.vim @@ -5,13 +5,13 @@ " Author: Tom Ryder <tom@sanctum.geek.nz> " License: Same as Vim itself " -if exists('g:loaded_replace_operator') || &compatible +if exists('loaded_replace_operator') || &compatible finish endif if v:version < 700 finish endif -let g:loaded_replace_operator = 1 +let loaded_replace_operator = 1 " Set up mapping nnoremap <expr> <Plug>(ReplaceOperator) |