1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 17:50:04 +08:00
This commit is contained in:
wsdjeg 2017-04-02 16:12:14 +08:00
parent 1ab10311e0
commit b2f0d6b38c
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,9 @@ function! SpaceVim#layers#lang#javascript#plugins() abort
if has('nvim')
call add(plugins,['carlitux/deoplete-ternjs', { 'on_ft' : ['javascript']}])
else
call add(plugins,['ternjs/tern_for_vim', { 'on_ft' : ['javascript']}])
call add(plugins,['ternjs/tern_for_vim', { 'on_ft' : ['javascript'],
\ 'build' : 'npm install',
\ }])
endif
call add(plugins,['othree/javascript-libraries-syntax.vim', { 'on_ft' : ['javascript','coffee','ls','typescript']}])
call add(plugins,['mmalecki/vim-node.js', { 'on_ft' : ['javascript']}])

View File

@ -17,7 +17,7 @@
function! SpaceVim#layers#lang#php#plugins() abort
let plugins = []
call add(plugins, ['php-vim/phpcd.vim', { 'on_ft' : 'php'}])
call add(plugins, ['php-vim/phpcd.vim', { 'on_ft' : 'php', 'build' : 'composer install'}])
call add(plugins, ['StanAngeloff/php.vim', { 'on_ft' : 'php'}])
call add(plugins, ['2072/PHP-Indenting-for-VIm', { 'on_ft' : 'php'}])
call add(plugins, ['rafi/vim-phpspec', { 'on_ft' : 'php'}])