Merge pull request #49 from SpaceVim/develop

Add filetype and option for sign text
This commit is contained in:
Idan Arye 2017-12-13 15:37:22 +02:00 committed by GitHub
commit 82cbbf61fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,7 @@ function! s:f_debugger.showTerminalBuffer() dict
new new
setlocal buftype=nofile setlocal buftype=nofile
setlocal bufhidden=wipe setlocal bufhidden=wipe
setlocal filetype=VebuggerTerminal
let self.terminalBuffer=bufnr('') let self.terminalBuffer=bufnr('')
silent file Vebugger:Terminal silent file Vebugger:Terminal
wincmd p wincmd p

View File

@ -116,6 +116,7 @@ function! vebugger#std#openShellBuffer(debugger)
let b:debugger=a:debugger let b:debugger=a:debugger
autocmd BufDelete <buffer> if exists('b:debugger') | call b:debugger.kill() | endif autocmd BufDelete <buffer> if exists('b:debugger') | call b:debugger.kill() | endif
setlocal buftype=nofile setlocal buftype=nofile
setlocal filetype=VebuggerShell
setlocal bufhidden=wipe setlocal bufhidden=wipe
let a:debugger.shellBuffer=bufnr('') let a:debugger.shellBuffer=bufnr('')
silent file Vebugger:Shell silent file Vebugger:Shell