diff --git a/autoload/vebugger.vim b/autoload/vebugger.vim index 1c3871a..4ff724b 100644 --- a/autoload/vebugger.vim +++ b/autoload/vebugger.vim @@ -106,6 +106,7 @@ function! s:f_debugger.showTerminalBuffer() dict new setlocal buftype=nofile setlocal bufhidden=wipe + setlocal filetype=VebuggerTerminal let self.terminalBuffer=bufnr('') silent file Vebugger:Terminal wincmd p diff --git a/autoload/vebugger/std.vim b/autoload/vebugger/std.vim index 5d8c8c6..ac8275b 100644 --- a/autoload/vebugger/std.vim +++ b/autoload/vebugger/std.vim @@ -116,6 +116,7 @@ function! vebugger#std#openShellBuffer(debugger) let b:debugger=a:debugger autocmd BufDelete if exists('b:debugger') | call b:debugger.kill() | endif setlocal buftype=nofile + setlocal filetype=VebuggerShell setlocal bufhidden=wipe let a:debugger.shellBuffer=bufnr('') silent file Vebugger:Shell