diff options
author | mattn <mattn.jp@gmail.com> | 2013-05-08 20:17:57 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2013-05-08 20:17:57 +0900 |
commit | d344e6389eccb0bfb3e4f00074f3815b627a5b52 (patch) | |
tree | bd6ab66deef031778fc5916554f48f17e3d1f2dd /plugin | |
parent | c4fd1f8913573854949e1aacc9d3a8fca908ca0d (diff) | |
download | vim-sonictemplate-d344e6389eccb0bfb3e4f00074f3815b627a5b52.tar.gz vim-sonictemplate-d344e6389eccb0bfb3e4f00074f3815b627a5b52.tar.bz2 vim-sonictemplate-d344e6389eccb0bfb3e4f00074f3815b627a5b52.zip |
Possible to rename command
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/sonictemplate.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/sonictemplate.vim b/plugin/sonictemplate.vim index dd91430..8848b16 100644 --- a/plugin/sonictemplate.vim +++ b/plugin/sonictemplate.vim @@ -1,7 +1,7 @@ "============================================================================= " File: sonictemplate.vim " Author: Yasuhiro Matsumoto <mattn.jp@gmail.com> -" Last Change: 11-Jun-2012. +" Last Change: 01-May-2013. " Version: 0.10 " WebPage: http://github.com/mattn/sonictemplate-vim " Description: Easy and high speed coding method @@ -20,7 +20,7 @@ let g:loaded_sonictemplate_vim = 1 let s:save_cpo = &cpo set cpo&vim -command! -nargs=1 -complete=customlist,sonictemplate#complete Template call sonictemplate#apply(<f-args>, 'n') +exe "command!" "-nargs=1" "-complete=customlist,sonictemplate#complete" get(g:, 'sonictemplate_commandname', 'Template') "call sonictemplate#apply(<f-args>, 'n')" if get(g:, 'sonictemplate_key', '') == '' nnoremap <plug>(sonictemplate) :call sonictemplate#select('n')<cr> |