mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 08:30:06 +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 = []
|
let plugins = []
|
||||||
call add(plugins, ['tpope/vim-scriptease', { 'merged' : 0}])
|
call add(plugins, ['tpope/vim-scriptease', { 'merged' : 0}])
|
||||||
call add(plugins, ['lymslive/vimloo', { '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, ['junegunn/rainbow_parentheses.vim', { 'merged' : 0}])
|
||||||
call add(plugins, ['mbbill/fencview', { 'on_cmd' : 'FencAutoDetect'}])
|
call add(plugins, ['mbbill/fencview', { 'on_cmd' : 'FencAutoDetect'}])
|
||||||
call add(plugins, ['wsdjeg/vim-cheat', { 'on_cmd' : 'Cheat'}])
|
call add(plugins, ['wsdjeg/vim-cheat', { 'on_cmd' : 'Cheat'}])
|
||||||
|
@ -49,15 +49,6 @@ function! s:echo(msg) abort
|
|||||||
echon a:msg
|
echon a:msg
|
||||||
endfunction
|
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:FILE = SpaceVim#api#import('file')
|
||||||
let s:JSON = SpaceVim#api#import('data#json')
|
let s:JSON = SpaceVim#api#import('data#json')
|
||||||
let s:cscope_cache_dir = s:FILE.unify_path('~/.cache/SpaceVim/cscope/')
|
let s:cscope_cache_dir = s:FILE.unify_path('~/.cache/SpaceVim/cscope/')
|
||||||
|
@ -7,25 +7,30 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
|
|
||||||
if !exists('g:cscope_silent')
|
if !exists('g:cscope_silent')
|
||||||
""
|
""
|
||||||
" Silent or not when run cscope command. by default it is 1.
|
" Silent or not when run cscope command. by default it is 1.
|
||||||
let g:cscope_silent = 1
|
let g:cscope_silent = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if !exists('g:cscope_cmd')
|
||||||
|
let g:cscope_cmd = 'cscope'
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
if !exists('g:cscope_auto_update')
|
if !exists('g:cscope_auto_update')
|
||||||
let g:cscope_auto_update = 1
|
let g:cscope_auto_update = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !exists('g:cscope_open_location')
|
if !exists('g:cscope_open_location')
|
||||||
let g:cscope_open_location = 1
|
let g:cscope_open_location = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if exists('g:cscope_preload_path')
|
if exists('g:cscope_preload_path')
|
||||||
let g:cscope_preload_path = ''
|
let g:cscope_preload_path = ''
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !exists('g:cscope_split_threshold')
|
if !exists('g:cscope_split_threshold')
|
||||||
let g:cscope_split_threshold = 10000
|
let g:cscope_split_threshold = 10000
|
||||||
endif
|
endif
|
||||||
|
|
||||||
set cscopequickfix=s-,g-,d-,c-,t-,e-,f-,i-
|
set cscopequickfix=s-,g-,d-,c-,t-,e-,f-,i-
|
||||||
@ -41,10 +46,10 @@ if exists('g:cscope_preload_path')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if g:cscope_auto_update == 1
|
if g:cscope_auto_update == 1
|
||||||
augroup cscope_core
|
augroup cscope_core
|
||||||
autocmd!
|
autocmd!
|
||||||
au BufWritePost * call cscope#onChange()
|
au BufWritePost * call cscope#onChange()
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user