diff --git a/nvim/.config/nvim/plugin/personal/doccompile.vim b/nvim/.config/nvim/plugin/personal/doccompile.vim index 5e0189e..83d361b 100644 --- a/nvim/.config/nvim/plugin/personal/doccompile.vim +++ b/nvim/.config/nvim/plugin/personal/doccompile.vim @@ -1,9 +1,9 @@ function s:_compile(verbose, ...) :execute(":w!") if a:verbose - execute "!" . "compile" . " " . "\"%\"" . " " . join(a:000) + execute "!" . "compile" . " " . "\"%:p\"" . " " . join(a:000) else - silent execute "!" . "compile" . " " . "\"%\"" . " " . join(a:000) + silent execute "!" . "compile" . " " . "\"%:p\"" . " " . join(a:000) endif endfunction