[vim/vim] runtime(vim): make 'gf' find imported python files (PR #20908)
Mateo Gjika (Vim Github Repository) <[email protected]> Sat, 01 Aug 2026 04:45:54 -0700
| Newsgroups | gmane.editors.vim.devel |
|---|---|
| Message-ID | <vim/vim/pull/[email protected]> |
I think it's useful for plugin developers who use python that when pressing `gf` on a line like this
```vim
py3 import something
```
vim knows to search the file `something.py` in `&rtp`.
Probably the logic that handles corner cases could be exported to the python runtime file.
ping @dkearns
You can view, comment on, or merge this pull request online at:
https://github.com/vim/vim/pull/20908
-- Commit Summary --
* runtime(vim): make 'gf' find imported python files
-- File Changes --
M runtime/autoload/vimgoto.vim (53)
M runtime/ftplugin/vim.vim (2)
-- Patch Links --
https://github.com/vim/vim/pull/20908.patch
https://github.com/vim/vim/pull/20908.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/vim/vim/pull/20908
You are receiving this because you are subscribed to this thread.
Message ID: <vim/vim/pull/[email protected]>
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/vim/vim/pull/20908%40github.com.