nvimtools / none-ls.nvim

null-ls.nvim reloaded / Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
The Unlicense
2.39k stars 69 forks source link

fix(biome): use stdin #115

Closed ton1517 closed 4 months ago

ton1517 commented 4 months ago

Using temp_file may change the file name and cause it to be formatted even though it is specified as ignore in the biome configuration. biome format supports stdin. see https://biomejs.dev/reference/cli/#biome-format

--stdin-file-path=PATH — Use this option when you want to format code piped from stdin, and print the output to stdout.