Skip to content

Commit

Permalink
Update LeaderF config
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdjeg committed Oct 19, 2019
1 parent efc816f commit e8d706a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autoload/leaderf/colorscheme/spacevim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
10 changes: 9 additions & 1 deletion config/plugins/LeaderF.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e8d706a

Please sign in to comment.