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

Option to jump to definitions? #29

Open
gamb opened this issue May 3, 2020 · 4 comments
Open

Option to jump to definitions? #29

gamb opened this issue May 3, 2020 · 4 comments

Comments

@gamb
Copy link
Contributor

gamb commented May 3, 2020

Short of digging into dhall-lsp-server, the cheapest option I could find to hop between files was:

(defun jump-to-file-at-point ()
  (interactive)
  (ring-insert find-tag-marker-ring (point-marker))
  (find-file-at-point))
@psibi
Copy link
Owner

psibi commented May 4, 2020

I guess a much better way would be to add support for dhall in the dumb-jump package: https://github.com/jacktasia/dumb-jump

@gamb
Copy link
Contributor Author

gamb commented May 4, 2020

@psibi Yeah that sounds good to me 👍 I'll give it a go when I get some time

@gamb
Copy link
Contributor Author

gamb commented May 4, 2020

@psibi Ahh, TIL... dhall tags works fairly well

@psibi
Copy link
Owner

psibi commented May 7, 2020

@gamb I guess adding support based to dhall-mode based on dhall tags would be a nice approach.

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

No branches or pull requests

2 participants