mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:30:04 +08:00
Fix docker image building (#4367)
This commit is contained in:
parent
6387f595f7
commit
8cf5519ca5
@ -16,7 +16,7 @@ function! SpaceVim#layers#tools#plugins() abort
|
||||
let plugins = []
|
||||
call add(plugins, ['tpope/vim-scriptease', { 'merged' : 0}])
|
||||
call add(plugins, ['lymslive/vimloo', { 'merged' : 0}])
|
||||
call add(plugins, ['lymslive/vnote', { 'depends' : 'vimloo', 'on_cmd' : ['NoteBook','NoteNew','NoteEdit', 'NoteList', 'NoteConfig', 'NoteIndex', 'NoteImport']}])
|
||||
call add(plugins, ['lymslive/vnote', { 'merged' : 0}])
|
||||
call add(plugins, ['junegunn/rainbow_parentheses.vim', { 'merged' : 0}])
|
||||
call add(plugins, ['mbbill/fencview', { 'on_cmd' : 'FencAutoDetect'}])
|
||||
call add(plugins, ['wsdjeg/vim-cheat', { 'on_cmd' : 'Cheat'}])
|
||||
|
@ -49,15 +49,6 @@ function! s:echo(msg) abort
|
||||
echon a:msg
|
||||
endfunction
|
||||
|
||||
if !exists('g:cscope_cmd')
|
||||
if executable('cscope')
|
||||
let g:cscope_cmd = 'cscope'
|
||||
else
|
||||
call s:echo('cscope: command not found')
|
||||
finish
|
||||
endif
|
||||
endif
|
||||
|
||||
let s:FILE = SpaceVim#api#import('file')
|
||||
let s:JSON = SpaceVim#api#import('data#json')
|
||||
let s:cscope_cache_dir = s:FILE.unify_path('~/.cache/SpaceVim/cscope/')
|
||||
|
@ -12,6 +12,11 @@ if !exists('g:cscope_silent')
|
||||
let g:cscope_silent = 1
|
||||
endif
|
||||
|
||||
if !exists('g:cscope_cmd')
|
||||
let g:cscope_cmd = 'cscope'
|
||||
endif
|
||||
|
||||
|
||||
if !exists('g:cscope_auto_update')
|
||||
let g:cscope_auto_update = 1
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user