1
0
mirror of https://github.com/jiriks74/presence.nvim synced 2024-11-23 20:37:50 +01:00

Add support for Neorg, shell files, and much more

This commit is contained in:
Andrew Kwon 2021-09-03 13:29:27 -04:00
parent e7aac8fb01
commit 0072e310e3

@ -7,9 +7,12 @@ return {
[".babelrc.js"] = { "Babel config", "babel" }, [".babelrc.js"] = { "Babel config", "babel" },
[".babelrc.json"] = { "Babel config", "babel" }, [".babelrc.json"] = { "Babel config", "babel" },
[".babelrc.mjs"] = { "Babel config", "babel" }, [".babelrc.mjs"] = { "Babel config", "babel" },
[".bash_login"] = { ".bash_login", "shell" },
[".bash_logout"] = { ".bash_logout", "shell" },
[".bash_profile"] = { ".bash_profile", "shell" }, [".bash_profile"] = { ".bash_profile", "shell" },
[".bash_prompt"] = { ".bash_prompt", "shell" }, [".bash_prompt"] = { ".bash_prompt", "shell" },
[".bashrc"] = { ".bashrc", "shell" }, [".bashrc"] = { ".bashrc", "shell" },
[".cshrc"] = { ".cshrc", "shell" },
[".dockercfg"] = { "Docker", "docker" }, [".dockercfg"] = { "Docker", "docker" },
[".dockerfile"] = { "Docker", "docker" }, [".dockerfile"] = { "Docker", "docker" },
[".dockerignore"] = { "Docker", "docker" }, [".dockerignore"] = { "Docker", "docker" },
@ -27,6 +30,8 @@ return {
[".gitlab-ci.yaml"] = { "GitLab CI", "gitlab" }, [".gitlab-ci.yaml"] = { "GitLab CI", "gitlab" },
[".gitlab-ci.yml"] = { "GitLab CI", "gitlab" }, [".gitlab-ci.yml"] = { "GitLab CI", "gitlab" },
[".gitmodules"] = { "git", "git" }, [".gitmodules"] = { "git", "git" },
[".login"] = { ".login", "shell" },
[".logout"] = { ".login", "shell" },
[".luacheckrc"] = { ".luacheckrc", "lua" }, [".luacheckrc"] = { ".luacheckrc", "lua" },
[".npmignore"] = { "npm config", "npm" }, [".npmignore"] = { "npm config", "npm" },
[".npmrc"] = { "npm config", "npm" }, [".npmrc"] = { "npm config", "npm" },
@ -40,11 +45,16 @@ return {
[".prettierrc.yaml"] = { "Prettier", "prettier" }, [".prettierrc.yaml"] = { "Prettier", "prettier" },
[".prettierrc.yml"] = { "Prettier", "prettier" }, [".prettierrc.yml"] = { "Prettier", "prettier" },
[".profile"] = { ".profile", "shell" }, [".profile"] = { ".profile", "shell" },
[".tcshrc"] = { ".tcshrc", "shell" },
[".terraformrc"] = { "Terraform config", "terraform" },
[".tmux.conf"] = { "tmux", "tmux" }, [".tmux.conf"] = { "tmux", "tmux" },
[".travis.yml"] = { "Travis CI", "travis" }, [".travis.yml"] = { "Travis CI", "travis" },
[".vimrc"] = { ".vimrc", "vim" }, [".vimrc"] = { ".vimrc", "vim" },
[".watchmanconfig"] = { "Watchman config", "watchman" }, [".watchmanconfig"] = { "Watchman config", "watchman" },
[".yarnrc"] = { "Yarn config", "yarn" }, [".yarnrc"] = { "Yarn config", "yarn" },
[".zlogin"] = { ".zlogin", "shell" },
[".zprofile"] = { ".zprofile", "shell" },
[".zshenv"] = { ".zshenv", "shell" },
[".zshrc"] = { ".zshrc", "shell" }, [".zshrc"] = { ".zshrc", "shell" },
["Brewfile"] = { "Brewfile", "homebrew" }, ["Brewfile"] = { "Brewfile", "homebrew" },
["Brewfile.lock.json"] = { "Brewfile.lock.json", "homebrew" }, ["Brewfile.lock.json"] = { "Brewfile.lock.json", "homebrew" },
@ -87,18 +97,25 @@ return {
["nuxt.config.js"] = { "Nuxt config", "nuxtjs" }, ["nuxt.config.js"] = { "Nuxt config", "nuxtjs" },
["prettier.config.cjs"] = { "Prettier", "prettier" }, ["prettier.config.cjs"] = { "Prettier", "prettier" },
["prettier.config.js"] = { "Prettier", "prettier" }, ["prettier.config.js"] = { "Prettier", "prettier" },
["profile"] = { "profile", "shell" },
["renovate.json"] = { "Renovate config", "renovate" }, ["renovate.json"] = { "Renovate config", "renovate" },
["requirements.txt"] = { "requirements.txt", "python" }, ["requirements.txt"] = { "requirements.txt", "python" },
["tailwind.config.js"] = { "Tailwind", "tailwind" }, ["tailwind.config.js"] = { "Tailwind", "tailwind" },
["terraform.rc"] = { "Terraform config", "terraform" },
["watchman.json"] = { "Watchman config", "watchman" }, ["watchman.json"] = { "Watchman config", "watchman" },
["webpack.config.js"] = { "Webpack", "webpack" }, ["webpack.config.js"] = { "Webpack", "webpack" },
["webpack.config.ts"] = { "Webpack", "webpack" }, ["webpack.config.ts"] = { "Webpack", "webpack" },
["yarn.lock"] = { "Yarn lockfile", "yarn" }, ["yarn.lock"] = { "Yarn lockfile", "yarn" },
["zlogin"] = { "zlogin", "shell" },
["zlogout"] = { "zlogout", "shell" },
["zprofile"] = { "zprofile", "shell" },
["zshenv"] = { "zshenv", "shell" },
["zshrc"] = { "zshrc", "shell" }, ["zshrc"] = { "zshrc", "shell" },
addressbook = { "abook", "abook" }, addressbook = { "abook", "abook" },
ahk = { "Autohotkey", "autohotkey" }, ahk = { "Autohotkey", "autohotkey" },
applescript = { "Applescript", "applescript" }, applescript = { "Applescript", "applescript" },
bash = { "Shell", "shell" }, bash = { "Bash script", "shell" },
bib = { "BibTeX", "latex" },
c = { "C ", "c" }, c = { "C ", "c" },
cabal = { "Cabal file", "haskell" }, cabal = { "Cabal file", "haskell" },
cc = { "C++", "c_plus_plus" }, cc = { "C++", "c_plus_plus" },
@ -107,6 +124,7 @@ return {
cl = { "Common Lisp", "lisp" }, cl = { "Common Lisp", "lisp" },
clj = { "Clojure", "clojure" }, clj = { "Clojure", "clojure" },
cljs = { "ClojureScript", "clojurescript" }, cljs = { "ClojureScript", "clojurescript" },
cls = { "Visual Basic class module", "visual_basic" },
cnf = { "Configuration file", "config" }, cnf = { "Configuration file", "config" },
coffee = { "CoffeeScript", "coffeescript" }, coffee = { "CoffeeScript", "coffeescript" },
conf = { "Configuration file", "config" }, conf = { "Configuration file", "config" },
@ -116,19 +134,32 @@ return {
cs = { "C#", "c_sharp" }, cs = { "C#", "c_sharp" },
css = { "CSS", "css" }, css = { "CSS", "css" },
cxx = { "C++", "c_plus_plus" }, cxx = { "C++", "c_plus_plus" },
d = { "D", "d" },
dart = { "Dart", "dart" }, dart = { "Dart", "dart" },
dll = { "DLL file", "visual_basic" },
e = { "Eiffel", "eiffel" },
elm = { "Elm", "elm" }, elm = { "Elm", "elm" },
erl = { "Erlang", "erlang" }, erl = { "Erlang", "erlang" },
ex = { "Elixir", "elixir" }, ex = { "Elixir", "elixir" },
expect = { "Expect", "tcl" },
fasl = { "Common Lisp", "lisp" }, fasl = { "Common Lisp", "lisp" },
fish = { "Fish script", "fish" },
fnl = { "Fennel", "fennel" }, fnl = { "Fennel", "fennel" },
fs = { "F#", "f_sharp" }, fs = { "F#", "f_sharp" },
g = { "ANTLR grammar", "antlr" },
g3 = { "ANTLR 3 grammar", "antlr" },
g4 = { "ANTLR 4 grammar", "antlr" },
gemspec = { "Gem Spec", "ruby" }, gemspec = { "Gem Spec", "ruby" },
go = { "Go", "go" }, go = { "Go", "go" },
gql = { "GraphQL", "graphql" }, gql = { "GraphQL", "graphql" },
graphql = { "GraphQL", "graphql" }, graphql = { "GraphQL", "graphql" },
groovy = { "Groovy", "groovy" },
gsh = { "Groovy", "groovy" },
gvy = { "Groovy", "groovy" },
gy = { "Groovy", "groovy" },
h = { "C header file", "c" }, h = { "C header file", "c" },
hack = { "Hack", "hack" }, hack = { "Hack", "hack" },
haml = { "Haml", "haml" },
hpp = { "C++ header file", "c_plus_plus" }, hpp = { "C++ header file", "c_plus_plus" },
hs = { "Haskell", "haskell" }, hs = { "Haskell", "haskell" },
html = { "HTML", "html" }, html = { "HTML", "html" },
@ -143,31 +174,46 @@ return {
js = { "JavaScript", "javascript" }, js = { "JavaScript", "javascript" },
json = { "JSON", "json" }, json = { "JSON", "json" },
jsx = { "React", "react" }, jsx = { "React", "react" },
ksh = { "KornShell script", "shell" },
kshrc = { "KornShell config", "shell" },
kt = { "Kotlin", "kotlin" }, kt = { "Kotlin", "kotlin" },
kv = { "Kivy", "kivy" },
l = { "Common Lisp", "lisp" }, l = { "Common Lisp", "lisp" },
less = { "Less", "less" }, less = { "Less", "less" },
lidr = { "Idris", "idris" }, lidr = { "Idris", "idris" },
liquid = { "Liquid", "liquid" },
lisp = { "Common Lisp", "lisp" }, lisp = { "Common Lisp", "lisp" },
log = { "Log file", "code" }, log = { "Log file", "code" },
lsp = { "Common Lisp", "lisp" }, lsp = { "Common Lisp", "lisp" },
lua = { "Lua", "lua" }, lua = { "Lua", "lua" },
m = { "MATLAB", "matlab" },
markdown = { "Markdown", "markdown" }, markdown = { "Markdown", "markdown" },
mat = { "MATLAB", "matlab" },
md = { "Markdown", "markdown" }, md = { "Markdown", "markdown" },
mdx = { "MDX", "mdx" }, mdx = { "MDX", "mdx" },
mjs = { "JavaScript", "javascript" }, mjs = { "JavaScript", "javascript" },
ml = { "OCaml", "ocaml" }, ml = { "OCaml", "ocaml" },
nim = { "Nim", "nim" }, nim = { "Nim", "nim" },
nix = { "Nix", "nix" }, nix = { "Nix", "nix" },
norg = { "Neorg", "neorg" },
pb = { "Protobuf", "protobuf" },
pcss = { "PostCSS", "postcss" }, pcss = { "PostCSS", "postcss" },
pgsql = { "PostgreSQL", "pgsql" }, pgsql = { "PostgreSQL", "pgsql" },
php = { "PHP", "php" }, php = { "PHP", "php" },
pl = { "Perl", "perl" }, pl = { "Perl", "perl" },
plist = { "Property List", "markup" }, plist = { "Property List", "markup" },
postcss = { "PostCSS", "postcss" }, postcss = { "PostCSS", "postcss" },
proto = { "Protobuf", "protobuf" },
ps1 = { "PowerShell", "powershell" }, ps1 = { "PowerShell", "powershell" },
psd1 = { "PowerShell", "powershell" },
psm1 = { "PowerShell", "powershell" },
purs = { "PureScript", "purescript" }, purs = { "PureScript", "purescript" },
py = { "Python", "python" }, py = { "Python", "python" },
r = { "R", "r" }, r = { "R", "r" },
raku = { "Raku", "raku" },
rakudoc = { "Raku", "raku" },
rakumod = { "Raku", "raku" },
rakutest = { "Raku", "raku" },
rb = { "Ruby", "ruby" }, rb = { "Ruby", "ruby" },
re = { "Reason", "reason" }, re = { "Reason", "reason" },
res = { "ReScript", "rescript" }, res = { "ReScript", "rescript" },
@ -176,25 +222,39 @@ return {
scala = { "Scala", "scala" }, scala = { "Scala", "scala" },
scm = { "Scheme", "scheme" }, scm = { "Scheme", "scheme" },
scss = { "Sass", "scss" }, scss = { "Sass", "scss" },
sh = { "Shell", "shell" }, sh = { "Shell script", "shell" },
shrc = { "Shell config", "shell" },
snap = { "Jest Snapshot", "jest" }, snap = { "Jest Snapshot", "jest" },
sql = { "SQL", "database" },
ss = { "Scheme", "scheme" }, ss = { "Scheme", "scheme" },
svelte = { "Svelte", "svelte" }, svelte = { "Svelte", "svelte" },
svg = { "SVG", "markup" }, svg = { "SVG", "markup" },
swift = { "Swift", "swift" }, swift = { "Swift", "swift" },
tcl = { "Tcl", "tcl" },
tex = { "LaTeX", "latex" }, tex = { "LaTeX", "latex" },
text = { "Text file", "text" }, text = { "Text file", "text" },
tf = { "Terraform", "terraform" },
tk = { "Tcl/Tk", "tcl" },
tl = { "Teal", "teal" }, tl = { "Teal", "teal" },
toml = { "TOML", "toml" }, toml = { "TOML", "toml" },
ts = { "TypeScript", "typescript" }, ts = { "TypeScript", "typescript" },
tsx = { "React", "react" }, tsx = { "React", "react" },
txt = { "Text file", "text" }, txt = { "Text file", "text" },
uc = { "UnrealScript", "unreal" },
vb = { "Visual Basic", "visual_basic" },
vbp = { "Visual Basic project file", "visual_basic" },
vim = { "Vim", "vim" }, vim = { "Vim", "vim" },
viml = { "Vim", "vim" }, viml = { "Vim", "vim" },
vue = { "Vue", "vue" }, vue = { "Vue", "vue" },
wasm = { "WebAssembly", "webassembly" },
wast = { "WebAssembly", "webassembly" },
wat = { "WebAssembly", "webassembly" },
xml = { "XML", "markup" }, xml = { "XML", "markup" },
xsd = { "XML Schema", "markup" },
xslt = { "XSLT", "markup" },
yaml = { "YAML", "yaml" }, yaml = { "YAML", "yaml" },
yml = { "YAML", "yaml" }, yml = { "YAML", "yaml" },
zig = { "Zig", "zig" }, zig = { "Zig", "zig" },
zsh = { "Shell", "shell" }, zsh = { "Zsh script", "shell" },
zu = { "Zimbu", "zimbu" },
} }