1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 20:30:05 +08:00

Fix docker image building (#4367)

This commit is contained in:
Wang Shidong 2021-08-07 22:35:20 +08:00 committed by GitHub
parent 6387f595f7
commit 8cf5519ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 21 deletions

View File

@ -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'}])

View File

@ -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/')

View File

@ -7,25 +7,30 @@
"=============================================================================
if !exists('g:cscope_silent')
""
" Silent or not when run cscope command. by default it is 1.
let g:cscope_silent = 1
""
" Silent or not when run cscope command. by default it is 1.
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
let g:cscope_auto_update = 1
endif
if !exists('g:cscope_open_location')
let g:cscope_open_location = 1
let g:cscope_open_location = 1
endif
if exists('g:cscope_preload_path')
let g:cscope_preload_path = ''
let g:cscope_preload_path = ''
endif
if !exists('g:cscope_split_threshold')
let g:cscope_split_threshold = 10000
let g:cscope_split_threshold = 10000
endif
set cscopequickfix=s-,g-,d-,c-,t-,e-,f-,i-
@ -41,10 +46,10 @@ if exists('g:cscope_preload_path')
endif
if g:cscope_auto_update == 1
augroup cscope_core
autocmd!
au BufWritePost * call cscope#onChange()
augroup END
augroup cscope_core
autocmd!
au BufWritePost * call cscope#onChange()
augroup END
endif