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

Update LeaderF config

This commit is contained in:
wsdjeg 2019-10-19 20:54:14 +08:00
parent efc816fdda
commit e8d706a26c
2 changed files with 10 additions and 2 deletions

View File

@ -99,4 +99,4 @@ let s:palette = {
\ }
\ }
let g:leaderf#colorscheme#spacevim#palette = leaderf#colorscheme#mergePalette(s:palette)
let g:leaderf#colorscheme#SpaceVim#palette = leaderf#colorscheme#mergePalette(s:palette)

View File

@ -2,12 +2,20 @@ scriptencoding utf-8
let g:Lf_StlSeparator = get(g:, 'Lf_StlSeparator', { 'left': '', 'right': '' })
let g:Lf_StlColorscheme = g:spacevim_colorscheme
" disable default mru
"
" disable default mru, and use neomru by default
augroup LeaderF_Mru
autocmd!
autocmd FileType leaderf setlocal nonumber
augroup END
" change the leaderf Colorscheme automatically
augroup leaderf_layer_config
autocmd!
autocmd ColorScheme * let g:Lf_StlColorscheme = g:colors_name
augroup END
let g:Lf_PreviewResult = {
\ 'File': 0,
\ 'Buffer': 0,