nvim-llama icon indicating copy to clipboard operation
nvim-llama copied to clipboard

Home env/Docker detection on windows

Open nunzioono opened this issue 3 months ago • 4 comments

Since HOME is not defaultly set on windows, nvim running ollama.lua doesn't find HOME variable and it doesn't run.

image

The error showed is this one:

image

nunzioono avatar Feb 29 '24 19:02 nunzioono

Good call: let me boot up my windows box and give this a spin - thanks for raising this issue!

jpmcb avatar Feb 29 '24 20:02 jpmcb

Thank you to create this awesome plugin, if you like it i can make a pull request tomorrow with the fixes needed

nunzioono avatar Feb 29 '24 23:02 nunzioono

I'm trying to come up with an explaination for which the plugin doesn't recognize docker either. But nothing for now:

image

Even if docker is for sure installed and tested on the same machine, running the same function in the lua playground works differently from running it inside init.lua

image

nunzioono avatar Mar 01 '24 09:03 nunzioono

Thank you to create this awesome plugin, if you like it i can make a pull request tomorrow with the fixes needed

Of course! It's my pleasure!

I'm trying to come up with an explaination for which the plugin doesn't recognize docker

I should have some bandwidth this weekend to take a peek. My guess is the plugin runs in a different space that doesn't have the Docker executable in it's same runtime.

jpmcb avatar Mar 01 '24 21:03 jpmcb