none-ls.nvim icon indicating copy to clipboard operation
none-ls.nvim copied to clipboard

Fallback temp files to OS temp directory

Open apgrc opened this issue 1 year ago • 3 comments

Closes #66.

Maybe this should be the default path?

apgrc avatar Aug 25 '24 18:08 apgrc

Run make test | grep Errors but I don't see any errors.

apgrc avatar Aug 25 '24 18:08 apgrc

I think this is very likely to break linters that require path resolving in order to work (which is why this feature existed in the first place). I think a better workaround is to add an override for certain generators to run mkdir -p before actually executing the external command.

mochaaP avatar Aug 26 '24 06:08 mochaaP

Those linters would break because the file buffer does not exist, not because of the location of the temp_file, right? If that is the case, how would running make -p solve the problem? The user would need to also save the file.

Do you have some examples of linters that break on those cases?

apgrc avatar Aug 27 '24 07:08 apgrc

closing this as not planned.

mochaaP avatar Dec 02 '24 09:12 mochaaP