Skip to content

Commit

Permalink
fix dein#source argument
Browse files Browse the repository at this point in the history
  • Loading branch information
sasaplus1 committed Dec 30, 2024
1 parent 1c1d026 commit e98613e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vim/plugins/coc.nvim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ endfunction
function! s:hook_source() abort
" hook_source {{{
if dein#tap('copilot.vim') && !dein#is_sourced('copilot.vim')
call dein#source(['copilot.vim'])
call dein#source('copilot.vim')
endif

" おそらく coc#util#get_config_home() が post_source でないと使用できない(未検証)
Expand Down
2 changes: 1 addition & 1 deletion vim/plugins/lightline.vim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function! s:hook_source() abort
" hook_source {{{
if dein#tap('vim-gruvbox8')
if !dein#is_sourced('vim-gruvbox8')
call dein#source(['vim-gruvbox8'])
call dein#source('vim-gruvbox8')
endif
let g:lightline = { 'colorscheme' : 'gruvbox8' }
set background=dark
Expand Down
2 changes: 1 addition & 1 deletion vim/plugins/vfiler.vim.vim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function! s:hook_source() abort
" hook_source {{{
" NOTE: 初回実行時なぜか表示が崩れるのでcoc.nvimを読み込んでおく
if dein#tap('coc.nvim') && !dein#is_sourced('coc.nvim')
call dein#source(['coc.nvim'])
call dein#source('coc.nvim')
endif

" ,vfでvfilerを開く
Expand Down

0 comments on commit e98613e

Please sign in to comment.