nvim: treefmt formatting using stdin
This commit is contained in:
parent
10b7754d41
commit
7fb2e4ccb7
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@
|
|||
ext-glob (.. "*." ext)]
|
||||
(if (vim.list_contains treefmt-exts ext-glob)
|
||||
{:command :treefmt
|
||||
:args [tmp-filename]
|
||||
:stdin false
|
||||
:args [:--stdin tmp-filename]
|
||||
:stdin true
|
||||
:cwd (conform-util.root_file [:flake.nix :flake.lock])
|
||||
:require_cwd true}
|
||||
(= (vim.fn.executable fallback.command) 1)
|
||||
|
|
Loading…
Reference in a new issue