1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:30:04 +08:00

fix(lang#markdown): use --force instead

close https://github.com/SpaceVim/SpaceVim/issues/4595
This commit is contained in:
wsdjeg 2022-03-21 22:36:23 +08:00
parent 7bae4893f7
commit b683a11f38

View File

@ -85,7 +85,7 @@ function! SpaceVim#layers#lang#markdown#plugins() abort
call add(plugins, ['iamcco/markdown-preview.nvim', call add(plugins, ['iamcco/markdown-preview.nvim',
\ { 'on_cmd' : 'MarkdownPreview', \ { 'on_cmd' : 'MarkdownPreview',
\ 'depends': 'open-browser.vim', \ 'depends': 'open-browser.vim',
\ 'build' : 'cd app & ' . s:node_pkgm . ' install' }]) \ 'build' : 'cd app & ' . s:node_pkgm . ' install --force' }])
if !has('nvim') if !has('nvim')
call add(plugins, ['neoclide/vim-node-rpc', {'merged': 0, 'build' : s:node_pkgm . ' install'}]) call add(plugins, ['neoclide/vim-node-rpc', {'merged': 0, 'build' : s:node_pkgm . ' install'}])
endif endif