Skip to content

Commit

Permalink
Ignore lua ftplugins error
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jan 15, 2024
1 parent f41352f commit 17c8107
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/dein/install.vim
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ function! dein#install#_get_default_ftplugin() abort
\ 'ftplugin/' .. ft .. '_*.vim'
\ 'ftplugin/' .. ft .. '/*.vim'
if has('nvim')
execute 'runtime!'
silent! execute 'runtime!'
\ 'ftplugin/' .. ft .. '.lua'
\ 'ftplugin/' .. ft .. '_*.lua'
\ 'ftplugin/' .. ft .. '/*.lua'
Expand Down
1 change: 1 addition & 0 deletions autoload/dein/util.vim
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ function! dein#util#_begin(path, vimrcs) abort
let g:dein#_off2 = 'filetype plugin indent off'
execute g:dein#_off2
endif
echomsg 'b:did_indent'->exists() || 'b:did_ftplugin'->exists()
else
execute 'set rtp-=' .. g:dein#_runtime_path->fnameescape()
execute 'set rtp-=' .. (g:dein#_runtime_path .. '/after')->fnameescape()
Expand Down

0 comments on commit 17c8107

Please sign in to comment.