return { settings = { Lua = { runtime = { version = 'LuaJIT' }, diagnostics = { globals = { -- Vim configs 'vim', -- Solar2D '_G', 'al', 'assert', 'audio', 'cloneArray', 'collectgarbage', 'coronabaselib', 'coroutine', 'debug', 'display', 'dofile', 'easing', 'error', 'gcinfo', 'getfenv', 'getmetatable', 'graphics', 'io', 'ipairs', 'lfs', 'load', 'loadfile', 'loadstring', 'lpeg', 'math', 'media', 'metatable', 'module', 'native', 'network', 'newproxy', 'next', 'os', 'package', 'pairs', 'pcall', 'physics', 'print', 'rawequal', 'rawget', 'rawset', 'require', 'Runtime', 'select', 'sendLaunchAnalytics', 'setfenv', 'setmetatable', 'string', 'system', 'table', 'timer', 'tonumber', 'tostring', 'transition', 'type', 'unpack', 'xpcall', 'application', 'settings', 'utils', }, }, workspace = { library = vim.tbl_deep_extend('force', vim.api.nvim_get_runtime_file('', true), { '${3rd}/love2d/library' }), checkThirdParty = false, }, }, }, }