Skip to content

Commit f1846dd

Browse files
committed
if g:pymode_breakpoint_cmd is empty, skip pymode#breakpoint#operate
1 parent dadf48a commit f1846dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

autoload/pymode/breakpoint.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ EOF
2525
endfunction "}}}
2626

2727
fun! pymode#breakpoint#operate(lnum) "{{{
28+
if strlen(g:pymode_breakpoint_cmd) == 0
29+
echoerr("g:pymode_breakpoint_cmd is empty string")
30+
return
2831
let line = getline(a:lnum)
2932
if strridx(line, g:pymode_breakpoint_cmd) != -1
3033
normal dd

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy