在某些情况下,使用rc 保存.js
文件后我会收到错误。输出:neovim
SpaceVim
:messages
Neomake error in: function <SNR>206_AutoUpdate[56]..<SNR>206_ProcessFile[84]..<SNR>206_ParseTagline, line 51
Neomake: Error during output processing for eslint: Vim(if):E716: Key not present in Dictionary: kind) && tagname =~# '\V' . escape(a:typeinfo.sro, '\').
Error detected while processing function <SNR>206_do_delayed_update[11]..<SNR>206_AutoUpdate[56]..<SNR>206_ProcessFile[84]..<SNR>206_ParseTagline:
line 51:
E716: Key not present in Dictionary: kind) && tagname =~# '\V' . escape(a:typeinfo.sro, '\')
Error detected while processing function <SNR>206_do_delayed_update[11]..<SNR>206_AutoUpdate[56]..<SNR>206_ProcessFile[84]..<SNR>206_ParseTagline:
line 51:
E116: Invalid arguments for function has_key
Error detected while processing function <SNR>206_do_delayed_update[11]..<SNR>206_AutoUpdate[56]..<SNR>206_ProcessFile[84]..<SNR>206_ParseTagline:
line 51:
E15: Invalid expression: has_key(a:typeinfo, 'kind2scope') && has_key(a:typeinfo.kind2scope, fielddict.kind) && tagname =~# '\V' . escape(a:typeinfo.sro, '\')
可能存在什么问题?
UPD。在某些情况下,:messages
输出仅包含:
line 51:
E716: Key not present in Dictionary: kind) && tagname =~# '\V' . escape(a:typeinfo.sro, '\')
Error detected while processing function <SNR>206_do_delayed_update[11]..<SNR>206_AutoUpdate[56]..<SNR>206_ProcessFile[84]..<SNR>206_ParseTagline:
line 51:
E116: Invalid arguments for function has_key
Error detected while processing function <SNR>206_do_delayed_update[11]..<SNR>206_AutoUpdate[56]..<SNR>206_ProcessFile[84]..<SNR>206_ParseTagline:
line 51:
E15: Invalid expression: has_key(a:typeinfo, 'kind2scope') && has_key(a:typeinfo.kind2scope, fielddict.kind) && tagname =~# '\V' . escape(a:typeinfo.sro, '\')