diff options
author | Lewis Russell <lewis6991@gmail.com> | 2023-04-14 13:27:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-14 13:27:46 +0100 |
commit | 789654accd590318a56a115cd086441893e4473a (patch) | |
tree | 620d871d38d46e6d4380dab4009879e54be2ae71 /test/unit/formatc.lua | |
parent | 90efe85a99c7986acccc8af370cfb179ae18aeff (diff) | |
parent | 3d29424fb9960085f09f7e322abf204eab9287b9 (diff) | |
download | rneovim-789654accd590318a56a115cd086441893e4473a.tar.gz rneovim-789654accd590318a56a115cd086441893e4473a.tar.bz2 rneovim-789654accd590318a56a115cd086441893e4473a.zip |
Merge pull request #22869 from lewis6991/refactor/unitannot
refactor(unit): add type annotations
Diffstat (limited to 'test/unit/formatc.lua')
-rw-r--r-- | test/unit/formatc.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/formatc.lua b/test/unit/formatc.lua index 2fd37c599a..c94f0d88f7 100644 --- a/test/unit/formatc.lua +++ b/test/unit/formatc.lua @@ -154,6 +154,8 @@ local C_keywords = set { -- luacheck: ignore -- -- The first one will have a lot of false positives (the line '{' for -- example), the second one is more unique. +--- @param string +--- @return string local function formatc(str) local toks = TokeniseC(str) local result = {} |