1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 02:00:05 +08:00

Merge pull request #926 from SpaceVim/fix_shell

Fix shell layer
This commit is contained in:
Wang Shidong 2017-10-24 23:04:13 +08:00 committed by GitHub
commit 919b93f678

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')