Skip to content
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

Make gf work with Lua package paths #24

Open
3 tasks
ZeroKnight opened this issue Oct 10, 2021 · 1 comment
Open
3 tasks

Make gf work with Lua package paths #24

ZeroKnight opened this issue Oct 10, 2021 · 1 comment
Labels
nvim Neovim configuration plugin-idea An idea for a possible plugin

Comments

@ZeroKnight
Copy link
Owner

Being able to jump to require'd files would be really nice. Be aware of package.(c)path and runtimepath.

For example, these cases should work:

  • zeroknight.config.highlight -> lua/zeroknight/config/highlight.lua
  • zeroknight.config -> lua/zeroknight/config.lua
  • zeroknight.config -> lua/zeroknight/config/init.lua
@ZeroKnight ZeroKnight added nvim Neovim configuration plugin-idea An idea for a possible plugin labels Oct 10, 2021
@ZeroKnight
Copy link
Owner Author

Or... maybe just rely on LSP go-to definition. Does it work in all cases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nvim Neovim configuration plugin-idea An idea for a possible plugin
Projects
None yet
Development

No branches or pull requests

1 participant