repo stringclasses 254
values | file_path stringlengths 29 241 | code stringlengths 100 233k | tokens int64 14 69.4k |
|---|---|---|---|
folly-org/folly | folly-org-folly-46a5fc3/editor/core/config.luau | local loaded_config = {
user = {
cursor = {
-- BLOCK, LINE
style = "LINE"
},
tab_spacing = 4,
},
}
-- replace loaded_config with the file read from disk,
-- if not found, create new file with the config above
local config = {}
local metatable = {
__index = function (t,k)
return loa... | 122 |
folly-org/folly | folly-org-folly-46a5fc3/editor/core/init.luau | local util = require("util/main")
local kc = require("util/keycodes")
local config = require("config")
local font = Renderer.Font.load("./resources/JetBrainsMono-Regular.ttf")
local font2 = Renderer.Font.load("./resources/Raveo-Regular.otf")
local buf = File.read("./editor/core/init.luau"):gsub("\r", "")
local font_... | 1,446 |
folly-org/folly | folly-org-folly-46a5fc3/editor/core/util/keycodes.luau | return {
null = 0,
apostrophe = 39,
comma = 44,
minus = 45,
period = 46,
slash = 47,
zero = 48,
one = 49,
two = 50,
three = 51,
four = 52,
five = 53,
six = 54,
seven = 55,
eight = 56,
nine = 57,
semicolon = 59,
equal = 61,
a = 65,
b = 66,
... | 732 |
folly-org/folly | folly-org-folly-46a5fc3/editor/core/util/main.luau | local t = {}
function t:MakeColor(r: number, g: number, b: number, a: number)
return {
red = r,
green = g,
blue = b,
alpha = a
}
end
return t | 54 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.