Closed moylop260 closed 7 years ago
👍
We had a similar issue about get a git diff
from https://github.com/Vauxoo/docker-odoo-image/issues/93
The fix was a disable by default and enable from environment variable GIT_STATUS
https://github.com/Vauxoo/docker-odoo-image/pull/96
We could use the same environment variable for the bundle vim-signify
I mean, if GIT_STATUS==1
then enable vim-signify
bundle else disable.
:+1:
:+1: on this
+1 :+1:
:+1:
However I did the PR to disable this functionality https://github.com/Vauxoo/docker-odoo-image/pull/208
:thumbsup:
@jesuszapata in your video you had a previous command executed then the git diff was indexed previously. But if you use the same command from scratch then you will see a opening slowest. Please review https://github.com/Vauxoo/docker-odoo-image/issues/93 where is the same case.
Running
vim -V12log /.repo_requirements/odoo/addons/account/models/account.py
Output
I saw Slow open file
I expected Faster open file
Details: Running:
rgrep "get_diff_start" . --include=*.vim
The output is:
I mean, the bundle is vim-signify
I prefer disable by default this bundle in order to open files faster.