-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file search speed got bad after commit 71ec6bb54685de67ca56425a2419799c490fd58f #327
Comments
When open big project. diff --git a/autoload/leaderf/python/leaderf/instance.py b/autoload/leaderf/python/leaderf/instance.py
index ec9292e..04f5fdd 100644
--- a/autoload/leaderf/python/leaderf/instance.py
+++ b/autoload/leaderf/python/leaderf/instance.py
@@ -369,8 +369,8 @@ class LfInstance(object):
try:
self._window_object.cursor = (orig_row + buffer_len - orig_buf_len, 0)
- if self._window_object.cursor == (buffer_len, 0):
- lfCmd("normal! zb")
+ #if self._window_object.cursor == (buffer_len, 0):
+ # lfCmd("normal! zb")
except vim.error:
self._window_object.cursor = (buffer_len, 0)
lfCmd("normal! zb")
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vim --version
ornvim --version
::echo has("python")
::echo has("python3")
::echo &pythondll
(only vim, not neovim)::echo &pythonthreedll
(only vim, not neovim)::py print(sys.version)
::py3 print(sys.version)
::echo g:Lf_Debug_Cmd
::echo g:Lf_FilesFromCache
:Describe your question, feature request, or bug.
Steps to reproduce
Actual behaviour
Expected behaviour
The text was updated successfully, but these errors were encountered: