diff --git a/nvim/_types.lua b/nvim/_types.lua new file mode 100644 index 0000000..e3cbc57 --- /dev/null +++ b/nvim/_types.lua @@ -0,0 +1,14 @@ + +--- LuaLS is weird and does not recognize builtin types. +--- even tho it should. So define them as alias +---@alias nil nil +---@alias any any +---@alias boolean boolean +---@alias string string +---@alias number number +---@alias integer integer +---@alias function function +---@alias table table +---@alias thread thread +---@alias userdata userdata +---@alias lightuserdata lightuserdata