diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 13:36:03 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-29 13:36:03 +1200 |
commit | 915fe15069acbe3f4021a998344eeda921ea1cd9 (patch) | |
tree | b5d809442be9fbb02706e274836ff80cbdb23687 /plugin | |
parent | Merge branch 'release/v0.4.0' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-colon-operator-master.tar.gz vim-colon-operator-master.zip |
* release/v0.5.0:
Update docs
Remove unneeded map attributes
Adjust function scoping
Abbreviate load guard
Adjust quoting for legibility
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/colon_operator.vim | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/plugin/colon_operator.vim b/plugin/colon_operator.vim index 5a30115..cf547e7 100644 --- a/plugin/colon_operator.vim +++ b/plugin/colon_operator.vim @@ -5,15 +5,11 @@ " Author: Tom Ryder <tom@sanctum.geek.nz> " License: Same as Vim itself " -if exists('loaded_colon_operator') || &compatible - finish -endif -if v:version < 700 +if exists('loaded_colon_operator') || &compatible || v:version < 700 finish endif let loaded_colon_operator = 1 " Set up mapping -nnoremap <expr> <silent> <unique> - \ <Plug>(ColonOperator) - \ colon_operator#Map() +nnoremap <expr> <Plug>(ColonOperator) + \ colon_operator#() |