-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
Go to definition fails on windows #515
Comments
This looks like the issue as I suspected: The path may need a different prefix and I'm not sure if we need different slashes for Windows in this case too. This works for me (different Clojure version but still):
Which of these work for you, if any? (also notice how it should be # Correct path with no prefix slash.
nvim zipfile://C:/Users/abhin/.m2/repository/org/clojure/clojure/1.10.3/clojure-1.10.3.jar::clojure/core.clj
# Not sure if windows requires double backslashes like this or just one?
nvim zipfile://C:\\Users\\abhin\\.m2\\repository\\org\\clojure\\clojure\\1.10.3\\clojure-1.10.3.jar::clojure\\core.clj
nvim zipfile://C:\Users\abhin\.m2\repository\org\clojure\clojure\1.10.3\clojure-1.10.3.jar::clojure\core.clj Also if you're using AstroNvim I just realised that it disables the zip plugin required to read .jar files by default, I overrode this and shorted the disabled plugins list with this: :lazy {:defaults {:lazy false}
:dev {:path "~/repos/Olical"}
:performance {:rtp {:disabled_plugins ["tohtml" "netrwPlugin"]}}} |
Also you should get some output when running |
hey, sorry for the late reply. I tried the following
and they didn't work for me. go to definition doesn't work within the same repository as well. AFAIK windows paths either require I don't use astroNvim so I don't think the zip plugin is disabled |
If someone can give me a zipfile path that works on their windows machine I can make sure Conjure uses that, I don't have access to Windows right now though and don't know how to run nvim on it anyway. Like aren't there two very different ways Windows users could be using Neovim on windows? As I understand it there's:
I'm not sure how the paths should look on each or if the protocol slashes should be If someone can give me a good path I can integrate that, I just don't know what it should be right now. |
whenever I try to go to the definition of a word using gd I run into an error
I have been facing this issue on windows I'm on conjure v4.45.0
when I enable conjure debugging this is the output I get
The text was updated successfully, but these errors were encountered: