mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:20:03 +08:00
fix(lang#markdown): use --force
instead
close https://github.com/SpaceVim/SpaceVim/issues/4595
This commit is contained in:
parent
7bae4893f7
commit
b683a11f38
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user