moved path-pruning to debugger
[pygdb.git] / pygdb.vim
index d0b3e5d2eea938cd09b9251444e54d4ef8849735..d61c4f1fddff74700fd039f62cc501073c70c342 100644 (file)
--- a/pygdb.vim
+++ b/pygdb.vim
@@ -112,8 +112,7 @@ def gdbBreakpointCond(lineno=None, file=None, cond=None):
 
 
 def getCurrentFile():
-       splitted = string.split(vim.current.window.buffer.name, os.sep)
-       return splitted[-1]
+       return vim.current.window.buffer.name