Yggdroot / LeaderF

An efficient fuzzy finder that helps to locate files, buffers, mrus, gtags, etc. on the fly for both vim and neovim.
Apache License 2.0
2.14k stars 178 forks source link

加载 Startify 的 session 之后,经常会出现 Leaderf 部分功能不能使用的情况 #551

Closed yan42685 closed 4 years ago

yan42685 commented 4 years ago

Describe your question, feature request, or bug.

不在 session 内的时候一切正常,加载 Startify 的 session 后如题,不过在设置 let g:Lf_ShowDevIcons = 0 之后就能正常使用了

image

Steps to reproduce

yan42685 commented 4 years ago

加载Session后也不是每次都不能使用 :Leaderf buffer:Leaderf file:Leaderf mru ,就是一开始可能能用,但是再次加载这个 session 可能 Leaderf 就会报错了

Yggdroot commented 4 years ago

我觉得这如果是bug也是Startify 的bug,session 恢复后应该跟之前一模一样,它没做到。

Yggdroot commented 4 years ago

因为它没有把highlight group保存起来。

Yggdroot commented 4 years ago

LeaderF做了点修改,让Startify的bug不暴露出来。

yan42685 commented 4 years ago

不是 LeaderF 的问题也能这么快搞定真是太好了,想点10个star,这个插件用起来相当舒服 :+1: