Improve the codes for sumneko friendly

This commit is contained in:
hrsh7th
2022-05-13 19:25:00 +09:00
parent 6527e5f31b
commit 0318a3cbc1
8 changed files with 170 additions and 163 deletions

View File

@@ -134,7 +134,7 @@ misc.safe = function(v)
end
---Treat 1/0 as bool value
---@param v boolean|"1"|"0"
---@param v boolean|1|0
---@param def boolean
---@return boolean
misc.bool = function(v, def)