Improve the codes for sumneko friendly
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user