aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-07-13 17:22:59 +0200
committerGitHub <noreply@github.com>2024-07-13 17:22:59 +0200
commiteab535e10edd69a2224a10f789bf3c2be6f0ba36 (patch)
tree3c4d8cb0307953ed023a9b453db4b9d4b901b655 /test/unit
parent2ad84286375112524e118a4f6ced68782b285a52 (diff)
parent7dffc36e61c46e6adc92cff5944e876446f3c40e (diff)
downloadrneovim-eab535e10edd69a2224a10f789bf3c2be6f0ba36.tar.gz
rneovim-eab535e10edd69a2224a10f789bf3c2be6f0ba36.tar.bz2
rneovim-eab535e10edd69a2224a10f789bf3c2be6f0ba36.zip
Merge pull request #29315 from bfredl/staticinline
refactor(declarations): also generate prototypes for functions in headers
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/formatc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/formatc.lua b/test/unit/formatc.lua
index ce9cb81f4a..04a8b4009f 100644
--- a/test/unit/formatc.lua
+++ b/test/unit/formatc.lua
@@ -264,6 +264,7 @@ local function formatc(str)
-- and ';' indicates we're at the end of a statement, so we put end
-- it with a newline.
token[1] = ';\n'
+ end_at_brace = false
end
elseif typ == 'whitespace' then
-- replace all whitespace by one space