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

fix(nix_flake_fmt): ask the user if the project is trusted

Open jfly opened this issue 10 months ago • 2 comments

nix fmt builds and runs whatever program is specified as the flake's formatter. It shouldn't do anything dangerous to your computer, but it could, so we should ask the user before letting that happen.

Note: this depends on neovim's recently fixed support for trusting directories (rather than just files): https://github.com/neovim/neovim/pull/33617

jfly avatar May 02 '25 00:05 jfly

Needs rebase

mochaaP avatar May 03 '25 10:05 mochaaP

Needs rebase

Done! Please wait to merge this until a new version of nvim 0.11 is released with this backport commit.

jfly avatar May 03 '25 17:05 jfly