bogado / file-line

Plugin for vim to enabling opening a file in a given line
http://www.vim.org/scripts/script.php?script_id=2184
301 stars 61 forks source link

Warnings of "autocommand nesting too deep" when opening lots of files #40

Closed deqing closed 9 years ago

deqing commented 9 years ago

For example:

$ vim a.h:2876 b.h:6051 c.h:6356 c.h:5356 f.cs:3183 g.h:6373 ...

following warning generated:

"a.h:2876" [New File]
Error detected while processing function <SNR>6_gotoline:
line   24:
"b.h:6051" [New File]
E218: autocommand nesting too deep
E218: autocommand nesting too deep
line   26:
E218: autocommand nesting too deep
"c.h" [readonly][dos] 6356L, 374173C
E218: autocommand nesting too deep
"c.h" [readonly][dos] 6356L, 374173C
Error detected while processing function <SNR>5_FTheader:
line   12:
"f.cs" [readonly][dos] 3183L, 195918C
Error detected while processing FileType Auto commands for "*":
"g.h" [readonly][dos] 6373L, 212368C
Press ENTER or type command to continue
deqing commented 9 years ago

Sorry. Tried the latest version and it works.

Great plugin, thanks!