From: olus2000 Date: Mon, 22 Aug 2022 13:30:48 +0000 (+0200) Subject: Fix vocabulary swithcing commands X-Git-Tag: 0.99~1117 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=d59f1dd62b515d66c4c58ad826dc6221866292c3 Fix vocabulary swithcing commands --- diff --git a/misc/vim/plugin/factor.vim b/misc/vim/plugin/factor.vim index 832ffc311c..9df38dbf0f 100644 --- a/misc/vim/plugin/factor.vim +++ b/misc/vim/plugin/factor.vim @@ -24,9 +24,9 @@ command! -bar -bang -range=1 -nargs=1 -complete=customlist,factor#complete_vocab \ execute factor#go_to_vocab_command(,"edit",) command! -bar -bang -range=1 -nargs=1 -complete=customlist,factor#complete_vocab_glob NewFactorVocab \ execute factor#make_vocab_command(,"edit",) -command! FactorVocabImpl -bar :call GoToFactorVocabImpl() -command! FactorVocabDocs -bar :call GoToFactorVocabDocs() -command! FactorVocabTests -bar :call GoToFactorVocabTests() +command! -bar FactorVocabImpl :call GoToFactorVocabImpl() +command! -bar FactorVocabDocs :call GoToFactorVocabDocs() +command! -bar FactorVocabTests :call GoToFactorVocabTests() function! FactorFileBase() let filename = expand('%:r')