mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:40:05 +08:00
Added zsh support
Added zsh support.
This commit is contained in:
parent
702504768b
commit
c2765ac64b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user