解决 vim 插件 taglist 报错:Error detected while processing
发布时间:2020-12-15 09:09:44 所属栏目:安全 来源:网络整理
导读:触发场景 a.php 标签打开 taglist ,然后打开 b.php 标签,此时再切回到 a.php 标签, vim 会报出一下错误信息: Error detected while processing function SNR29_Tlist_Refresh_Folds 解决办法 下载 taglist 补丁:taglist.diff 补丁内容如下:(若不能下
触发场景
Error detected while processing function <SNR>29_Tlist_Refresh_Folds 解决办法下载 diff --git a/vim/.vim/bundle/taglist/plugin/taglist.vim b/vim/.vim/bundle/taglist/plugin/taglist.vim index 59901f6..74487a1 100644 --- a/vim/.vim/bundle/taglist/plugin/taglist.vim +++ b/vim/.vim/bundle/taglist/plugin/taglist.vim @@ -4097,6 +4097,11 @@ endfunction " window. Used after entering a tab. If this is not done,then the folds " are not properly created for taglist windows displayed in multiple tabs. function! s:Tlist_Refresh_Folds() + + if g:Tlist_Show_One_File + return + endif + let winnum = bufwinnr(g:TagList_title) if winnum == -1 return 然后,应用此补丁: patch -p0 ~/.vim/plugged/taglist.vim/plugin/taglist.vim ~/Downloads/taglist.diff 注意: 插件位置由你所用的插件管理器决定,可能跟我不一样。 参考:
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- bash – 什么可以防止经常切换具有多个接口的机器的默认源i
- Raspberry Pi 2上的Docker:无法访问任何注册表端点
- Bootstrap 中列表行 <tr> 的显示样式
- angularjs – 如何在rxjs Observable中包含angular $http p
- scala简单的功能实现~weekone
- 教大家轻松制作Bootstrap漂亮表格(table)
- angularjs – 我如何以角度重新加载/重新启动服务?
- SoapUI5.0创建WebService接口模拟服务端
- 如何获取gnome-shell-extension中的进程列表?
- 为什么Scala并行集合有时会导致OutOfMemoryError?