mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 16:10: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()
|
function! SpaceVim#layers#lang#sh#config()
|
||||||
call SpaceVim#layers#edit#add_ft_head_tamplate('sh',
|
call SpaceVim#layers#edit#add_ft_head_tamplate('sh',
|
||||||
\ ['#!/usr/bin/env bash',
|
\ ['#!/usr/bin/env bash',
|
||||||
\ '']
|
\ '']
|
||||||
\ )
|
\ )
|
||||||
|
call SpaceVim#layers#edit#add_ft_head_tamplate('zsh', [
|
||||||
|
\ '#!/usr/bin/env zsh',
|
||||||
|
\ ''
|
||||||
|
\ ])
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user