Merge pull request #59 from IngoHeimbach/feature/speedup-shell-terminal
Do not execute autocommands when writing lines to vebugger buffers
This commit is contained in:
commit
f881b44b4c
@ -148,7 +148,7 @@ function! s:f_debugger.addLineToTerminal(pipeName,line) dict
|
||||
if has_key(self,'terminalBuffer')
|
||||
let l:bufwin=bufwinnr(self.terminalBuffer)
|
||||
if -1<l:bufwin
|
||||
exe l:bufwin.'wincmd w'
|
||||
exe 'noautocmd '.l:bufwin.'wincmd w'
|
||||
if has_key(self,'pipes')
|
||||
\&&has_key(self.pipes,a:pipeName)
|
||||
\&&has_key(self.pipes[a:pipeName],'annotation')
|
||||
@ -157,7 +157,7 @@ function! s:f_debugger.addLineToTerminal(pipeName,line) dict
|
||||
call append (line('$'),a:line)
|
||||
endif
|
||||
normal G
|
||||
wincmd p
|
||||
noautocmd wincmd p
|
||||
endif
|
||||
endif
|
||||
endfunction
|
||||
|
@ -142,10 +142,10 @@ function! s:standardFunctions.addLineToShellBuffer(line) dict
|
||||
if has_key(self,'shellBuffer')
|
||||
let l:bufwin=bufwinnr(self.shellBuffer)
|
||||
if -1<l:bufwin
|
||||
exe l:bufwin.'wincmd w'
|
||||
exe 'noautocmd '.l:bufwin.'wincmd w'
|
||||
call append (line('$'),a:line)
|
||||
normal G
|
||||
wincmd p
|
||||
noautocmd wincmd p
|
||||
endif
|
||||
endif
|
||||
endfunction
|
||||
|
Loading…
Reference in New Issue
Block a user