mirror of
https://github.com/xHyroM/zed-discord-presence.git
synced 2024-11-10 00:18:06 +01:00
Jozef Steinhübl
f7af3a6e0a
* feat: add get_extension * feat: add language icons (#8) chore: icons Co-authored-by: Youssef Khalil <38569107+darkyeg@users.noreply.github.com> * add copyright notice, rename to language_icons * add zed icons * change assets notice * feat: add language recognition from file name or ext * style: cleanup * feat: regex support * feat: return text as default * build: reduce deps * docs: lsp configuration * feat: large text, small text * refactor: simplify configuration * refactor: simplify discord * feat: placeholders * feat: make state & details option --------- Co-authored-by: Youssef Khalil <38569107+darkyeg@users.noreply.github.com>
410 lines
11 KiB
JSON
410 lines
11 KiB
JSON
{
|
|
"nodemon.json": "nodemon",
|
|
"package.json": "npm",
|
|
"turbo.json": "turbo",
|
|
"regex:(vercel|now)\\.json": "vercel",
|
|
"regex:(?i)\\.prettier((rc)|(\\.(toml|yml|yaml|json|js))?)$": "prettier",
|
|
"regex:\\.eslint((rc|ignore)|(\\.(json|js))?)$": "eslint",
|
|
"regex:\\.(now|vercel)ignore$": "vercel",
|
|
"regex:prettier\\.config\\.js$": "prettier",
|
|
"regex:vue\\.config\\.(js|ts)$": "vueconfig",
|
|
"regex:vite\\.config\\.(js|ts)$": "viteconfig",
|
|
"regex:vitest\\.config\\.(js|ts|mjs)$": "vitestconfig",
|
|
"regex:jest\\.config\\.(js|ts)$": "jest",
|
|
"regex:tailwind\\.config\\.(js|cjs|mjs|ts|cts|mts)$": "tailwind",
|
|
"regex:gatsby-(browser|node|ssr|config)\\.js$": "gatsbyjs",
|
|
"regex:webpack(\\.dev|\\.development|\\.prod|\\.production)?\\.config(\\.babel)?\\.(js|jsx|coffee|ts|json|json5|yaml|yml)$": "webpack",
|
|
"babel.config.js": "babel",
|
|
".ahk": "ahk",
|
|
".ahkl": "ahk",
|
|
".astro": "astro",
|
|
".astro.config.mjs": "astroconfig",
|
|
"androidmanifest.xml": "android",
|
|
".bp": "android",
|
|
"regex:^angular[^.]*\\.js$": "angular",
|
|
".ng": "angular",
|
|
".applescript": "applescript",
|
|
"regex:(\\.)?appveyor\\.yml$": "appveyor",
|
|
".ino": "arduino",
|
|
".swf": "as",
|
|
".as": "as",
|
|
".jsfl": "as",
|
|
".swc": "as",
|
|
".asp": "asp",
|
|
".asax": "asp",
|
|
".ascx": "asp",
|
|
".ashx": "asp",
|
|
".asmx": "asp",
|
|
".aspx": "asp",
|
|
".axd": "asp",
|
|
"regex:\\.(l?a|[ls]?o|out|s|a51|asm|axf|elf|prx|puff|z80)$": "assembly",
|
|
".agc": "assembly",
|
|
".ko": "assembly",
|
|
".kv": "kivy",
|
|
".ks": "kag-script",
|
|
".tjs": "kirikiri-tpv-javascript",
|
|
".lst": "assembly",
|
|
"regex:\\.((c([+px]{2}?)?-?)?objdump|bsdiff|bin|dat|pak|pdb)$": "assembly",
|
|
".d-objdump": "assembly",
|
|
"regex:\\.gcode|\\.gco$": "assembly",
|
|
"regex:\\.rpy[bc]$": "assembly",
|
|
"regex:\\.py[co]$": "assembly",
|
|
".swp": "assembly",
|
|
".DS_Store": "assembly",
|
|
".au3": "autoit",
|
|
"regex:\\.babelrc$": "babel",
|
|
".bat": "bat",
|
|
".batch": "bat",
|
|
".cmd": "bat",
|
|
"regex:\\.(exe|com|msi)$": "bat",
|
|
".reg": "bat",
|
|
"regex:^(BUILD|WORKSPACE|\\.bzl|\\.bazel(rc)?|\\.s(tar|ky))$": "bazel",
|
|
"regex:^(\\.bowerrc|bower\\.json|Bowerfile)$": "bower",
|
|
"regex:\\.bf?$": "brainfuck",
|
|
"regex:\\.c$": "c",
|
|
"regex:(cargo\\.toml|cargo\\.lock)$": "cargo",
|
|
".casc": "casc",
|
|
".cas": "casc",
|
|
".ces": "citrinescript",
|
|
".cfc": "coldfusion",
|
|
".cfm": "coldfusion",
|
|
"circle.yml": "circleci",
|
|
".clj": "clojure",
|
|
".cl2": "clojure",
|
|
".cljc": "clojure",
|
|
".cljx": "clojure",
|
|
".hic": "clojure",
|
|
"regex:\\.cljs(cm)?$": "clojure",
|
|
".cmake": "cmake",
|
|
"regex:^CMakeLists\\.txt$": "cmake",
|
|
"regex:\\.codeclimate\\.(yml|json)$": "codeclimate",
|
|
".cbl": "cobol",
|
|
".cob": "cobol",
|
|
".coffee": "coffee",
|
|
".cjsx": "coffee",
|
|
".coffee.ecr": "coffee",
|
|
"regex:contenthook\\.config\\.(ts|cjs|mjs|js)$": "contenthook",
|
|
".coffee.erb": "coffee",
|
|
".litcoffee": "coffee",
|
|
".iced": "coffee",
|
|
".cos": "cosmo",
|
|
".⭐": "cosmo",
|
|
"regex:\\.c[+px]{2}$|\\.cc$": "cpp",
|
|
"regex:\\.h[+px]{2}$": "cpp",
|
|
"regex:\\.[it]pp$": "cpp",
|
|
"regex:\\.(tcc|inl)$": "cpp",
|
|
".cats": "cpp",
|
|
".idc": "cpp",
|
|
".w": "cpp",
|
|
".nc": "cpp",
|
|
".upc": "cpp",
|
|
".xpm": "cpp",
|
|
"regex:\\.e?cr$": "crystal",
|
|
".cs": "csharp",
|
|
".csx": "csharp",
|
|
".cshtml": "razor",
|
|
".csproj": "csproj",
|
|
".css": "css",
|
|
".css.map": "cssmap",
|
|
".cu": "cuda",
|
|
".pyx": "cython",
|
|
"regex:\\.di?$": "d",
|
|
".dart": "dart",
|
|
".dfm": "delphi",
|
|
".dpr": "delphi",
|
|
".dsc": "denizen",
|
|
".dm": "dm",
|
|
".dme": "dm",
|
|
".dmm": "dm",
|
|
"regex:^(Dockerfile|docker-compose|\\.docker(file|ignore))$": "docker",
|
|
"regex:^docker-sync\\.yml$": "docker",
|
|
".editorconfig": "editorconfig",
|
|
".ejs": "ejs",
|
|
".ex": "elixir",
|
|
"regex:\\.(exs|l?eex)$": "elixir",
|
|
"regex:^mix\\.(exs?|lock)$": "elixir",
|
|
".elm": "elm",
|
|
".env": "env",
|
|
".erl": "erlang",
|
|
"regex:\\.([fF])(03|08|18|90|95)$": "fortran",
|
|
".beam": "erlang",
|
|
".hrl": "erlang",
|
|
".xrl": "erlang",
|
|
".yrl": "erlang",
|
|
".app.src": "erlang",
|
|
"regex:^Emakefile$": "erlang",
|
|
"regex:^rebar(\\.config)?\\.lock$": "erlang",
|
|
"regex:(\\.firebaserc|firebase\\.json)$": "firebase",
|
|
".flowconfig": "flowconfig",
|
|
".fs": "fsharp",
|
|
".fsi": "fsharp",
|
|
".fsscript": "fsharp",
|
|
".fsx": "fsharp",
|
|
"regex:^Gemfile(\\.lock)?$": "gemfile",
|
|
"regex:^\\.git|^\\.keep$|\\.mailmap$": "git",
|
|
".gml": "gml",
|
|
".gleam": "gleam",
|
|
".go": "go",
|
|
".gd": "godot",
|
|
".gr": "grain",
|
|
".gradle": "gradle",
|
|
"gradlew": "gradle",
|
|
"regex:\\.(g|c)sc$": "gamescript",
|
|
".gql": "graphql",
|
|
".graphql": "graphql",
|
|
".groovy": "groovy",
|
|
"regex:\\.gv?y$": "groovy",
|
|
".gsh": "groovy",
|
|
"regex:[Gg]runtfile\\.(js|coffee)$": "gruntfile",
|
|
"gulpfile.js": "gulp",
|
|
"regex:\\.(hbs|handlebars|(mu)?stache)$": "handlebars",
|
|
".prg": "harbour",
|
|
".ha": "hare",
|
|
".hbp": "harbour",
|
|
".hbc": "harbour",
|
|
".rc": "harbour",
|
|
".fmg": "harbour",
|
|
".hs": "haskell",
|
|
".hsc": "haskell",
|
|
".c2hs": "haskell",
|
|
".c3": "c3",
|
|
".lhs": "haskell",
|
|
"regex:\\.(hlsl|cginc|cg|shader|fx)$": "hlsl",
|
|
"regex:\\.(glsl|vert|frag|geom|tesc|tese|comp)$": "glsl",
|
|
"regex:\\.hx(ml)?$": "haxe",
|
|
"^procfile$": "heroku",
|
|
".heex": "heex",
|
|
"heroku.yml": "heroku",
|
|
".hjson": "hjson",
|
|
".hc": "holyc",
|
|
"regex:\\.x?html?$": "html",
|
|
".http": "http",
|
|
".rest": "http",
|
|
".jar": "jar",
|
|
".java": "java",
|
|
".j2": "jinja",
|
|
".jinja": "jinja",
|
|
".js": "js",
|
|
".es6": "js",
|
|
".es": "js",
|
|
".mjs": "js",
|
|
".js.map": "jsmap",
|
|
".json": "json",
|
|
".jsonc": "json",
|
|
".jsx": "jsx",
|
|
".jule": "jule",
|
|
"regex:\\.(jil|jl)$": "julia",
|
|
".ipynb": "jupyter",
|
|
"regex:\\.kt[ms]?$": "kotlin",
|
|
".less": "less",
|
|
"regex:\\.l(i?sp)?$": "lisp",
|
|
"regex:\\.n[ly]$": "lisp",
|
|
".podsl": "lisp",
|
|
"regex:\\.s([s]|(cm)|(exp))$": "lisp",
|
|
".ls": "livescript",
|
|
".log": "log",
|
|
"regex:\\.([w]|(pd_))?lua$": "lua",
|
|
"regex:\\.luau$": "luau",
|
|
"regex:\\.rbx(?:lx|l|m|s)?$": "luau",
|
|
"^Makefile$": "makefile",
|
|
"^mk\\.config$": "makefile",
|
|
"regex:\\.(mk|mak|make)$": "makefile",
|
|
"regex:^BSDmakefile$": "makefile",
|
|
"regex:^GNUmakefile$": "makefile",
|
|
"regex:^makefile\\.sco$": "makefile",
|
|
"regex:^Kbuild$": "makefile",
|
|
"regex:^makefile$": "makefile",
|
|
"regex:^mkfile$": "makefile",
|
|
"regex:^\\.?qmake$": "makefile",
|
|
"regex:\\.(geo|topo)$": "manifest",
|
|
".cson": "manifest",
|
|
".json5": "manifest",
|
|
".ndjson": "manifest",
|
|
".fea": "manifest",
|
|
".json.eex": "manifest",
|
|
".pawn": "pawn",
|
|
".proto": "manifest",
|
|
".pytb": "manifest",
|
|
".pydeps": "manifest",
|
|
"regex:\\.pot?$": "manifest",
|
|
".ejson": "manifest",
|
|
".edn": "manifest",
|
|
".eam.fs": "manifest",
|
|
".qml": "manifest",
|
|
".qbs": "manifest",
|
|
".ston": "manifest",
|
|
".ttl": "manifest",
|
|
".rviz": "manifest",
|
|
".sol": "solidity",
|
|
".syntax": "manifest",
|
|
".webmanifest": "manifest",
|
|
"regex:^pkginfo$": "manifest",
|
|
".moon": "moonscript",
|
|
"regex:^mime\\.types$": "manifest",
|
|
"regex:^METADATA\\.pb$": "manifest",
|
|
"regex:/\\\\[/\\\\][-.\\w]+$": "manifest",
|
|
"regex:([/\\\\]|\\/)dev[-\\w]+\\1(?:[^/\\\\]+\\1)*(?!DESC|NOTES)(?:[A-Z][-A-Z]*)(?:\\.in)?$": "manifest",
|
|
"lib/icons/.icondb.js": "manifest",
|
|
"regex:\\.git/\\\\?(HEAD|ORIG_HEAD|packed-refs|logs/\\\\?[^/\\\\]+)$": "manifest",
|
|
"regex:\\.(md|mdown|markdown|mkd|mkdown|mdwn|mkdn|rmd|ron|pmd)$": "markdown",
|
|
".mdx": "markdownx",
|
|
".marko": "marko",
|
|
"regex:\\.m$": "matlab",
|
|
".nim": "nim",
|
|
".nims": "nim",
|
|
".nimble": "nim",
|
|
".nix": "nix",
|
|
".npmrc": "npm",
|
|
".npmignore": "npm",
|
|
".nut": "squirrel",
|
|
"regex:\\.mm?$": "objective-c",
|
|
".pch": "objective-c",
|
|
".x": "objective-c",
|
|
"regex:\\.eliom[i]?$": "ocaml",
|
|
"regex:\\.ml[4lyi]?$": "ocaml",
|
|
".mt": "metal",
|
|
".odin": "odin",
|
|
".onyx": "onyx",
|
|
"regex:\\.pas(cal)?$": "pascal",
|
|
".lpr": "pascal",
|
|
".inc": "pawn",
|
|
".sma": "pawn",
|
|
"regex:\\.p(wn)?$": "pawn",
|
|
".sp": "sourcepawn",
|
|
"regex:\\.p(er)?l$": "perl",
|
|
".al": "perl",
|
|
"regex:\\.p([hm]|lx)$": "perl",
|
|
"regex:\\.(psgi|xs)$": "perl",
|
|
".pl6": "perl",
|
|
"regex:\\.[tp]6$|\\.6pl$": "perl",
|
|
"regex:\\.(pm6|p6m)$": "perl",
|
|
".6pm": "perl",
|
|
".nqp": "perl",
|
|
".p6l": "perl",
|
|
".pod6": "perl",
|
|
"regex:^Rexfile$": "perl",
|
|
"regex:\\.php([st\\d]|_cs)?$": "php",
|
|
"^Phakefile$": "php",
|
|
".pony": "ponylang",
|
|
".pcss": "postcss",
|
|
"regex:\\.ps[md]?1$": "powershell",
|
|
".ps1xml": "powershell",
|
|
".prettierignore": "prettier",
|
|
"prisma.yml": "prisma",
|
|
".pde": "processing",
|
|
".jade": "pug",
|
|
".pug": "pug",
|
|
".purs": "purescript",
|
|
".ipy": "python",
|
|
".isolate": "python",
|
|
".pep": "python",
|
|
"regex:\\.gypi?$": "python",
|
|
".pyde": "python",
|
|
"regex:\\.py([wi3tp]|de)?$": "python",
|
|
".tac": "python",
|
|
".wsgi": "python",
|
|
".xpy": "python",
|
|
".rpy": "python",
|
|
"regex:\\.?(pypirc|pythonrc|python-venv)$": "python",
|
|
"regex:^(SConstruct|SConscript)$": "python",
|
|
"regex:^(Snakefile|WATCHLISTS)$": "python",
|
|
"regex:^wscript$": "python",
|
|
"regex:\\.(r|Rprofile|rsx|rd)$": "r",
|
|
".razor": "razor",
|
|
"regex:\\.res?i?$": "reasonml",
|
|
".rst": "restructuredtext",
|
|
"regex:\\.(rb|ru|ruby|erb|gemspec|god|mspec|pluginspec|podspec|rabl|rake|opal)$": "ruby",
|
|
"regex:^\\.?(irbrc|gemrc|pryrc|ruby-(gemset|version))$": "ruby",
|
|
"regex:^(Appraisals|(Rake|[bB]uild|Cap|Danger|Deliver|Fast|Guard|Jar|Maven|Pod|Puppet|Snap)file(\\.lock)?)$": "ruby",
|
|
"regex:\\.(jbuilder|rbuild|rb[wx]|builder)$": "ruby",
|
|
"regex:^rails$": "ruby",
|
|
".watchr": "ruby",
|
|
".rs": "rust",
|
|
"regex:\\.(sc|scala)$": "scala",
|
|
"regex:\\.s[ac]ss$": "scss",
|
|
"regex:\\.(sh|rc|bats|bash|tool|install|command)$": "shell",
|
|
"regex:^(\\.?bash(rc|[-_]?(profile|login|logout|history|prompt))|_osc|config|install-sh|PKGBUILD)$": "shell",
|
|
"regex:\\.(ksh|mksh|pdksh)$": "shell",
|
|
".sh-session": "shell",
|
|
"regex:\\.zsh(-theme|_history)?$|^\\.?(antigen|zpreztorc|zlogin|zlogout|zprofile|zshenv|zshrc)$": "shell",
|
|
"regex:\\.fish$|^\\.fishrc$": "shell",
|
|
"regex:^\\.?(login|profile)$": "shell",
|
|
".inputrc": "shell",
|
|
".tmux": "shell",
|
|
"regex:^(configure|config\\.(guess|rpath|status|sub)|depcomp|libtool|compile)$": "shell",
|
|
"regex:^/(private/)?etc/([^/]+/)*(profile$|nanorc$|rc\\.|csh\\.)$": "shell",
|
|
"regex:^\\.?cshrc$": "shell",
|
|
".profile": "shell",
|
|
".tcsh": "shell",
|
|
".csh": "shell",
|
|
".sk": "skript",
|
|
".sqf": "sqf",
|
|
"regex:\\.(my)?sql$": "sql",
|
|
".ddl": "sql",
|
|
".udf": "sql",
|
|
".hql": "sql",
|
|
".rkt": "racket",
|
|
".viw": "sql",
|
|
".prc": "sql",
|
|
".cql": "sql",
|
|
".db2": "sql",
|
|
"regex:\\.(styl|stylus)$": "stylus",
|
|
".sln": "csproj",
|
|
"regex:\\.sv(h)?$": "systemverilog",
|
|
".svelte": "svelte",
|
|
".svg": "svg",
|
|
".swift": "swift",
|
|
"regex:\\.tex(i)?$": "tex",
|
|
".ltx": "tex",
|
|
".aux": "tex",
|
|
".sty": "tex",
|
|
".dtx": "tex",
|
|
".cls": "tex",
|
|
".ins": "tex",
|
|
".lbx": "tex",
|
|
".mkiv": "tex",
|
|
"regex:\\.mk[vi]i$": "tex",
|
|
"regex:^hyphen(ex)?\\.(cs|den|det|fr|sv|us)$": "tex",
|
|
"regex:\\.te?xt$": "text",
|
|
".rtf": "text",
|
|
"regex:\\.i?nfo$": "text",
|
|
".msg": "text",
|
|
"regex:\\.(utxt|utf8)$": "text",
|
|
".toml": "toml",
|
|
".travis.yml": "travis",
|
|
".ts.map": "tsmap",
|
|
"regex:.*\\.d\\.ts$": "typescript-def",
|
|
".ts": "ts",
|
|
".tsx": "tsx",
|
|
".twig": "twig",
|
|
".umm": "umm",
|
|
".v": "v",
|
|
".vh": "v",
|
|
".vala": "vala",
|
|
".vapi": "vala",
|
|
".vb": "vb",
|
|
".vbs": "vb",
|
|
".vbhtml": "vb",
|
|
".vbproj": "vb",
|
|
".vba": "vba",
|
|
".vcxproj": "vcxproj",
|
|
".verse": "verse",
|
|
".vscodeignore": "vscodeignore",
|
|
".vue": "vue",
|
|
".zu": "zura",
|
|
".zura": "zura",
|
|
".wat": "wasm",
|
|
".wast": "wasm",
|
|
".wasm": "wasm",
|
|
".xml": "xml",
|
|
".xaml": "xaml",
|
|
"regex:\\.ya?ml$": "yaml",
|
|
"regex:^yarn(\\.lock)?$": "yarn",
|
|
".yarnrc": "yarn",
|
|
".zig": "zig",
|
|
".maeel": "maeel",
|
|
"regex:\\.(tfvars|tf)$": "terraform",
|
|
"regex:\\.mojo$": "mojo",
|
|
".🔥": "mojo",
|
|
".zs": "zs"
|
|
}
|