From be76aa311fc14a40bdd8e1482e2cdb0293412306 Mon Sep 17 00:00:00 2001 From: Integralist Date: Mon, 16 Jan 2017 09:49:03 +0000 Subject: [PATCH] Fix bug in autoload code --- autoload/mypy.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/mypy.vim b/autoload/mypy.vim index b69b628..50a33ef 100644 --- a/autoload/mypy.vim +++ b/autoload/mypy.vim @@ -7,8 +7,9 @@ " " Add mypy# prefix to any calls for ExecuteMyPy " Vim will search in this autoload directory for the function +" Note: the function defined here also needs the mypy# prefix -function ExecuteMyPy() +function mypy#ExecuteMyPy() silent !clear execute "!mypy " . bufname("%") endfunction -- 2.45.2