Johan Larsson

Results 98 comments of Johan Larsson

Hm, thanks, yes that seems like a bug. Thanks for reporting!

It's not currently possible to do this, but it's a good suggestion. A good approach would be to add an argument that allows the user to specify a function that...

Thanks! (And sorry for the belated reply). Yes, this definitely seems like a bug. Thanks for the investigation and proposed fix. I, however, see some errors running the tests now:...

Hm, good question. I don't know, actually.

> > default to `vim.loop.cwd()` > > https://github.com/zbirenbaum/copilot.lua/blob/2c942f33ba5c621c906e625e00a1bb504b65e2f0/lua/copilot/client.lua#L183 Thanks, sorry, missed that. But why is the server reporting `home/` as root directory in that case? In the same buffer, running...

I don't think it makes sense to set `root_dir = vim.loop.cwd()`. I suppose that `setup()` probably doesn't run for every new buffer, right? In which case it would just use...

Yes, you're right. That's what's happening. If I run neovim from the project directory, it's set appropriately.

Sure, I can give it a shot, but I'm not a native speaker so it might not be perfect :)

I am trying to work on a PR for this, but I am a bit stumped by the fact that the danish wiktionary uses sections via templates, and I guess...