mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 12:50:04 +08:00
Fix #354
This commit is contained in:
parent
1ab10311e0
commit
b2f0d6b38c
@ -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']}])
|
||||
|
@ -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'}])
|
||||
|
Loading…
Reference in New Issue
Block a user