Skip to content

Conversation

@zhaocai
Copy link

@zhaocai zhaocai commented Apr 19, 2013

[priority < 1000] --> built-in |gf| --> [priority >= 1000]

@kana
Copy link
Owner

kana commented Apr 20, 2013

Would you mind describing why this change is useful?

@zhaocai
Copy link
Author

zhaocai commented Apr 20, 2013

some ftplugin should be tried before norm! gf https://github.com/zhaocai/vim-gf-python

@kana
Copy link
Owner

kana commented Apr 20, 2013

I couldn't understand your example. It seems to me that there is no reason to change the current order even in your example. What is the problem you encountered with the current order?

@zhaocai
Copy link
Author

zhaocai commented Apr 20, 2013

support you have

import some_module

and you also have a file named some_module.py .

The current order would try to open some_module.py first.

@kana
Copy link
Owner

kana commented Apr 20, 2013

I still don't agree your opinion:

  • If you are developing some_module, it doesn't matter which method — the built-in gf or your vim-gf-python — is invoked. You'd like to open the some_module.py.
  • If you are not developing some_module, it seems to be a bad habit to name a file which conflicts with an existing module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants