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

Added zsh support

Added zsh support.
This commit is contained in:
Seong Yong-ju 2017-11-12 17:48:15 +09:00
parent 702504768b
commit c2765ac64b

View File

@ -1,6 +1,16 @@
function! SpaceVim#layers#lang#javascript#plugins() abort
return [
\ ['chrisbra/vim-zsh', { 'on_ft' : 'zsh' }]
\ ]
endfunction
function! SpaceVim#layers#lang#sh#config()
call SpaceVim#layers#edit#add_ft_head_tamplate('sh',
\ ['#!/usr/bin/env bash',
\ '']
\ )
call SpaceVim#layers#edit#add_ft_head_tamplate('zsh', [
\ '#!/usr/bin/env zsh',
\ ''
\ ])
endfunction