Skip to content

Commit

Permalink
add an option to disable or enable thinkvim custom color
Browse files Browse the repository at this point in the history
  • Loading branch information
glepnir committed May 1, 2020
1 parent 695929d commit 5f4c6b1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion core/core.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ let g:thinkvim_version = "2.5.2"
let g:thinkvim_disable_mappings = 0
" disable some plugins keymap
let g:thinkvim_disable_pmaping = []
" Load thinkvim provide color config
let g:thinkvim_load_color = 1

if &compatible
" vint: -ProhibitSetNoCompatible
Expand Down Expand Up @@ -70,7 +72,11 @@ call utils#source_file($VIM_PATH,'keybinds/leaderkey.vim')

" Initialize user favorite colorscheme
call theme#init()
call utils#source_file($VIM_PATH,'core/color.vim')

" Load thinkvim custom color
if g:thinkvim_load_color
call utils#source_file($VIM_PATH,'core/color.vim')
endif

" Generate coc-settings.json
call utils#generate_coc_json()
Expand Down

0 comments on commit 5f4c6b1

Please sign in to comment.