Skip to content

Commit a77c11c

Browse files
Boris FilippovBoris Filippov
authored andcommitted
Don't repeat "Error detected while processing function pymode#run#Run" after every line in case when script throws exception when beign runned by <leader>r
1 parent 34a9d90 commit a77c11c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/pymode/run.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
fun! pymode#run#Run(line1, line2) "{{{
33
if &modifiable && &modified | write | endif
44
redi @">
5-
sil!py execfile(vim.eval('expand("%s:p")'))
5+
py execfile(vim.eval('expand("%s:p")')) or True
66
redi END
77
call pymode#TempBuffer()
88
normal ""Pdd

0 commit comments

Comments
 (0)