Closed ShaolunWang closed 11 months ago
The fact it's empty is intended, although whether it's a correct intention or not remains to be seen, I will check tonight when I get home Is this a one-time error or does it keep happening? What are the steps to reproduce this issue?
I just took another look and here are some issues I encountered:
I'm also having clang issues because I'm using the visual studio one, installing clang from scoop. I think this is largely a weird issue on my side because without installing clang outside of visual studio, there is no clang in $PATH
.
@ShaolunWang Thanks for the detailed info
Regarding clang, indeed the visual studio one does not automatically put it in path. Which is probably for the better, as that can break existing dev stacks, I've seen it first hand. I clarified the readme to mention it needs to be put in the system Path by hand, I'd rather people know that it's there now.
I could find a way to figure out the path myself but then people won't be able to do what you did and use a different source for the clang compiler.
I'm open to suggestions here, at the time just picking whatever clang is in path seemed good enough
Thanks again for your time and detailed feedback
For vim.loop
it's just a libuv wrapper, I don't know much about async so I can't help much on that unfortunately. I've tried to used it but I'm not very good at writing it. Alternatively there is plenary.nvim which I also don't know much about.
As for clang it might make sense to declare in the json file...? Since the file already has the engine path declared there, it also makes sense for the clang path to be there.
https://github.com/zadirion/Unreal.nvim/blob/main/lua/unreal/init.lua is empty. Is this intended?
I'm receiving the error :
My guess is that the empty init file caused this.