Open AbhinavOmprakash opened 1 year ago
This looks like the issue as I suspected: :file "jar:file:/C:/Users/abhin/.m2/repository/org/clojure/clojure/1.10.3/clojure-1.10.3.jar!/clojure/core.clj"
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):
nvim zipfile:///home/olical/.m2/repository/org/clojure/clojure/1.11.1/clojure-1.11.1.jar::/clojure/core.clj
Which of these work for you, if any? (also notice how it should be clojure/core.clj
, not /clojure/core.clj
)
# 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 :let zipPlugin_ext
if you have the required zip plugin loaded. If not, maybe something is disabling it because it's a builtin feature.
hey, sorry for the late reply. I tried the following
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
nvim zipfile:\\C:\Users\abhin\.m2\repository\org\clojure\clojure\1.11.0\clojure-1.11.0.jar::\clojure\core.clj
nvim zipfile://C:\Users\abhin\.m2\repository\org\clojure\clojure\1.11.0\clojure-1.11.0.jar::\clojure\core.clj
and they didn't work for me.
go to definition doesn't work within the same repository as well. AFAIK windows paths either require \
backslashes or double forward slashes //
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 ://
on EVERY platform no matter what 🤔
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 usinggd 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