X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=blobdiff_plain;f=misc%2Fvim%2Fplugin%2Ffactor.vim;h=9df38dbf0ff8bd5e71478ad37bd6f98c586c2034;hp=832ffc311c8abbe314cc64eb3aee2cde25c982d4;hb=d59f1dd62b515d66c4c58ad826dc6221866292c3;hpb=a43fe81d3fbe2ebb78f1ba0639a23665f297701b 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')