-- HUB is the only global hub creates
return {
std = "lua54+snowcone",
allow_defined = false,
allow_defined_top = false,
globals = {"HUB"},
-- type declarations for the language server; never loaded
exclude_files = {"types.lua"},
stds = {
    snowcone = {
        read_globals = {
            snowcone = {
                fields = {"to_base64", "from_base64", "dnslookup", "pton", "shutdown", "newtimer",
                    "setmodule", "raise", "isalnum", "irccase", "parse_irc", "parse_irc_tags",
                    "SIGINT", "SIGTSTP", "connect", "execute", "time", "monotime", "parse_toml",
                    "start_input", "stop_input", "start_ui", "catch_signals", "start_httpd",
                    "write_private"},
            },
            "tty_height", "tty_width", "ncurses",
            "myopenssl", "mybase64", "mytoml",
            "mystringprep", "mygeoip",
        },
    },
},
}
