Closed hokorobi closed 1 year ago
The error in the screenshot appears when starting with vimrc, described below.
gvim.exe -N -u ~/vimfiles/vimrc-min-dein-hooks_file -U NONE -i NONE
Starts without error.
Ignore the "OFF" in screenshot.
~/vimfiles/vimrc-min-dein-hooks_file
set nocompatible set runtimepath+=C:\Users\hokorobi\_vim\dein\repos\github.com\Shougo\dein.vim let g:testdic = {} call dein#begin('~/_vim/dein') call dein#add('tweekmonster/helpful.vim', #{ \ hooks_file: '~/vimfiles/vimrc-min-dein-hooks_file_helpful.vim', \ }) call dein#end() filetype plugin indent on syntax enable
~/vimfiles/vimrc-min-dein-hooks_file_helpful.vim
" hook_add {{{ call extend(g:testdic, #{ \ test: 'test', \}) " }}}
The line feed code for both files is LF.
The same result with CRLF.
Fixed.
Description
The error in the screenshot appears when starting with vimrc, described below.
To Reproduce
gvim.exe -N -u ~/vimfiles/vimrc-min-dein-hooks_file -U NONE -i NONE
Expected behavior
Starts without error.
Screenshots
Desktop:
Minimal Config
~/vimfiles/vimrc-min-dein-hooks_file
~/vimfiles/vimrc-min-dein-hooks_file_helpful.vim