1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-09 14:50:06 +08:00

Fix shell layer

This commit is contained in:
wsdjeg 2017-10-23 21:02:54 +08:00
parent 2d7572a35c
commit 7910b14e84

View File

@ -31,6 +31,11 @@ function! SpaceVim#layers#shell#config() abort
endfunction
let s:default_shell = 'terminal'
let s:default_position = 'top'
let s:default_height = 30
function! SpaceVim#layers#shell#set_variable(var) abort
let s:default_shell = get(a:var, 'default_shell', 'terminal')
let s:default_position = get(a:var, 'default_position', 'top')