mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-24 10:47:07 +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')
|
if has('nvim')
|
||||||
call add(plugins,['carlitux/deoplete-ternjs', { 'on_ft' : ['javascript']}])
|
call add(plugins,['carlitux/deoplete-ternjs', { 'on_ft' : ['javascript']}])
|
||||||
else
|
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
|
endif
|
||||||
call add(plugins,['othree/javascript-libraries-syntax.vim', { 'on_ft' : ['javascript','coffee','ls','typescript']}])
|
call add(plugins,['othree/javascript-libraries-syntax.vim', { 'on_ft' : ['javascript','coffee','ls','typescript']}])
|
||||||
call add(plugins,['mmalecki/vim-node.js', { 'on_ft' : ['javascript']}])
|
call add(plugins,['mmalecki/vim-node.js', { 'on_ft' : ['javascript']}])
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
function! SpaceVim#layers#lang#php#plugins() abort
|
function! SpaceVim#layers#lang#php#plugins() abort
|
||||||
let plugins = []
|
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, ['StanAngeloff/php.vim', { 'on_ft' : 'php'}])
|
||||||
call add(plugins, ['2072/PHP-Indenting-for-VIm', { 'on_ft' : 'php'}])
|
call add(plugins, ['2072/PHP-Indenting-for-VIm', { 'on_ft' : 'php'}])
|
||||||
call add(plugins, ['rafi/vim-phpspec', { 'on_ft' : 'php'}])
|
call add(plugins, ['rafi/vim-phpspec', { 'on_ft' : 'php'}])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user