Comments (7)
主要是有时不记得函数全称,就想通过leaderf gtags去搜索一下,但第一次打开就很慢,这两个选项都开启了
771 let g:Lf_UseCache = 1
772 let g:Lf_UseMemoryCache=1
from leaderf.
主要是有时不记得函数全称,就想通过leaderf gtags去搜索一下,但第一次打开就很慢,这两个选项都开启了 771 let g:Lf_UseCache = 1 772 let g:Lf_UseMemoryCache=1
这两个选项都是Leaderf file相关的,跟gtags没关系。
from leaderf.
但我发现如果把leaderf的cache打开,leadetf gtags只会加载一次全部条目1643478,如果把cahe关了,每次都是从1一直读取到1643478,难道是我记错了,明天我再试试
from leaderf.
但我发现如果把leaderf的cache打开,leadetf gtags只会加载一次全部条目1643478,如果把cahe关了,每次都是从1一直读取到1643478,难道是我记错了,明天我再试试
这两个选项确实跟gtags没关系,我记混了,那么针对Leaderf[!] gtags --all第一次进入右下角需要加载,请问有什么办法让这个能打开vim的施主异步自动加载一次吗?第一次加载要等待,后续再调用Leaderf[!] gtags --all就是秒开了
from leaderf.
如果文件有变化,gtags数据库也会跟着变化,同样需要重新加载。所以感觉感觉在后台执行一次没有必要。
from leaderf.
如果文件有变化,gtags数据库也会跟着变化,同样需要重新加载。所以感觉感觉在后台执行一次没有必要。
不一定要改到eaderf中,没用过python,viml也不熟悉,所以主要是想了解怎样开机自动调用一次这个Leaderf gtags,想用autocmd VimEnter * call 来弄,但没想明白怎么调用这个Leaderf gtags
from leaderf.
直接调用Leaderf gtags好像不行,因为这样还是会打开leaderf的窗口。
LeaderF/autoload/leaderf/python/leaderf/gtagsExpl.py
Lines 75 to 289 in c632d20
LeaderF/autoload/leaderf/python/leaderf/gtagsExpl.py
Lines 178 to 199 in c632d20
主要逻辑在这里,代码耦合性有点大,不改Leaderf的代码应该做不到。
from leaderf.
Related Issues (20)
- 如何高亮加载到 quickfix 中 的搜索 HOT 1
- relativenumber, 无法相对跳转, 并报错: E481: No range allowed HOT 3
- 5ad91dc is causing error HOT 3
- `UnboundLocalError: cannot access local variable 'filename' where it is not associated with a value` HOT 1
- No feedback when there is a permission denied HOT 5
- Help buffers are not seen in `buffer` mode HOT 2
- g:Lf_Rg配置似乎不生效 HOT 3
- LeaderF触发nvim cpu loading 异常 HOT 6
- 添加nix文件的devicon
- 关于Leaderf git的一个小建议 HOT 10
- Feature request for Preview: toggle auto preview temporarily for the current leaderf buffer HOT 1
- 保存或再打开文件报错 HOT 2
- Leaderf function 对 ini 文件显示 section 即可
- [HELP WANTED] error when called the ' leaderf#Rg#NormalModelFilter ' HOT 7
- 使用Lf_PopupPreviewPosition = 'top'时提示Pattern not found: Lf_PopupPreviewPosition = 'top' HOT 10
- 每次键入中文句号后紧接着键入小写字母y,会引发错误 HOT 2
- 让 leaderf git 支持多个git 仓库 HOT 2
- Regex mode of Leaderf rg matching result is unexpected HOT 3
- Not seeing files in the list of LeaderfFile HOT 3
- Leaderf line is slow to open (3-5 seconds) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leaderf.