[Feature] Hide formatter.nvim tempfiles (#955)

This commit is contained in:
not 2021-07-15 10:18:36 -05:00 committed by GitHub
parent 1d675b8360
commit 9ed28bce96
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 0 deletions

View file

@ -22,6 +22,7 @@ M.format = function()
exe = O.lang.lua.formatter.exe, exe = O.lang.lua.formatter.exe,
args = O.lang.lua.formatter.args, args = O.lang.lua.formatter.args,
stdin = not (O.lang.lua.formatter.stdin ~= nil), stdin = not (O.lang.lua.formatter.stdin ~= nil),
tempfile_prefix = ".formatter",
} }
end, end,
} }

View file

@ -31,6 +31,7 @@ M.format = function()
exe = O.lang.php.formatter.exe, exe = O.lang.php.formatter.exe,
args = O.lang.php.formatter.args, args = O.lang.php.formatter.args,
stdin = not (O.lang.php.formatter.stdin ~= nil), stdin = not (O.lang.php.formatter.stdin ~= nil),
tempfile_prefix = ".formatter",
} }
end, end,
} }

View file

@ -25,6 +25,7 @@ M.format = function()
exe = O.lang.sh.formatter.exe, exe = O.lang.sh.formatter.exe,
args = O.lang.sh.formatter.args, args = O.lang.sh.formatter.args,
stdin = not (O.lang.sh.formatter.stdin ~= nil), stdin = not (O.lang.sh.formatter.stdin ~= nil),
tempfile_prefix = ".formatter",
} }
end, end,
} }

View file

@ -17,6 +17,7 @@ M.format = function()
exe = O.lang.terraform.formatter.exe, exe = O.lang.terraform.formatter.exe,
args = O.lang.terraform.formatter.args, args = O.lang.terraform.formatter.args,
stdin = not (O.lang.terraform.formatter.stdin ~= nil), stdin = not (O.lang.terraform.formatter.stdin ~= nil),
tempfile_prefix = ".formatter",
} }
end, end,
} }