mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
refactor(unit): add type annotations
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user