mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 15:50:06 +08:00
Fix shell layer
This commit is contained in:
parent
2d7572a35c
commit
7910b14e84
@ -31,6 +31,11 @@ function! SpaceVim#layers#shell#config() abort
|
|||||||
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
|
let s:default_shell = 'terminal'
|
||||||
|
let s:default_position = 'top'
|
||||||
|
let s:default_height = 30
|
||||||
|
|
||||||
function! SpaceVim#layers#shell#set_variable(var) abort
|
function! SpaceVim#layers#shell#set_variable(var) abort
|
||||||
let s:default_shell = get(a:var, 'default_shell', 'terminal')
|
let s:default_shell = get(a:var, 'default_shell', 'terminal')
|
||||||
let s:default_position = get(a:var, 'default_position', 'top')
|
let s:default_position = get(a:var, 'default_position', 'top')
|
||||||
|
Loading…
Reference in New Issue
Block a user