Commit 3c2813f
authored
fix: E495 on VimEnter with 'verbose' (#242)
Problem:
If 'verbose' is non-zero, VimEnter autocmd when starting vim without
args raises E495:
Error detected while processing VimEnter Autocommands for "*"..function <SNR>37_UseConfigFiles:
line 6:
E495: No autocommand file name to substitute for "<afile>"
Solution:
Replace "<afile>" with "#n" (:help :_#n).1 parent ba2ce02 commit 3c2813f
1 file changed
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
221 | 215 | | |
222 | 216 | | |
223 | 217 | | |
| |||
0 commit comments