projects
/
pygdb.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed exit(-1) since no configs are saved then
[pygdb.git]
/
pygdb.vim
diff --git
a/pygdb.vim
b/pygdb.vim
index d0b3e5d2eea938cd09b9251444e54d4ef8849735..fe0626ff04f12b9359f87dbcef63393babe3cb17 100644
(file)
--- a/
pygdb.vim
+++ b/
pygdb.vim
@@
-13,13
+13,8
@@
import os
import string
import sys
import threading
import string
import sys
import threading
-
import vim
import vim
-#Do not use a ~ for home directory
-pygdbdir = "/home/shuber/projekte/pygdb"
-sys.path.append(pygdbdir)
-
import Configuration
import Configuration
@@
-112,8
+107,7
@@
def gdbBreakpointCond(lineno=None, file=None, cond=None):
def getCurrentFile():
def getCurrentFile():
- splitted = string.split(vim.current.window.buffer.name, os.sep)
- return splitted[-1]
+ return vim.current.window.buffer.name
@@
-133,10
+127,8
@@
def gdbGetBreakpoint(file, lineno):
>>
>>
-highlight ExecutionLine term=bold ctermbg=DarkGreen ctermfg=White
highlight BreakPoint term=inverse ctermbg=DarkCyan ctermfg=Black
highlight BreakPoint term=inverse ctermbg=DarkCyan ctermfg=Black
-sign define ExecutionLine text==> texthl=ExecutionLine linehl=ExecutionLine
sign define BreakPoint text=! texthl=BreakPoint linehl=BreakPoint
sign define CondBreakPoint text=? texthl=BreakPoint linehl=BreakPoint
sign define BreakPoint text=! texthl=BreakPoint linehl=BreakPoint
sign define CondBreakPoint text=? texthl=BreakPoint linehl=BreakPoint