comparison rc/vimrc @ 666:f5e12f656c03

[vimrc] move color adjustment closer to colorscheme definition
author nanaya <me@nanaya.pro>
date Sat, 11 Dec 2021 18:17:38 +0900
parents f93d4ac50080
children 6887e66d83b4
comparison
equal deleted inserted replaced
665:f93d4ac50080 666:f5e12f656c03
28 28
29 set hidden " it's buffer time? 29 set hidden " it's buffer time?
30 30
31 set list listchars=tab:>-,trail:.,extends:>,nbsp:? 31 set list listchars=tab:>-,trail:.,extends:>,nbsp:?
32 32
33 if has("autocmd")
34 autocmd colorscheme * highlight specialkey ctermfg=gray
35 endif
36
37 set number 33 set number
38 34
39 " http://stackoverflow.com/questions/14635295/vim-takes-a-very-long-time-to-start-up 35 " http://stackoverflow.com/questions/14635295/vim-takes-a-very-long-time-to-start-up
40 set clipboard=exclude:.* 36 set clipboard=exclude:.*
41 37
81 if has('syntax') 77 if has('syntax')
82 syntax on 78 syntax on
83 set foldmethod=manual 79 set foldmethod=manual
84 set nofoldenable 80 set nofoldenable
85 set background=dark 81 set background=dark
82
83 if has("autocmd")
84 autocmd colorscheme * highlight specialkey ctermfg=gray
85 endif
86 86
87 let g:srcery_bg_passthrough=1 87 let g:srcery_bg_passthrough=1
88 colorscheme srcery 88 colorscheme srcery
89 endif 89 endif
90 90