Appearance
Languages
Every language a file can be, how it is highlighted, and the files that are that language. A language marked package opens as plain text until its package is installed (see Language packages).
A file is matched by its whole name first, then by its extension or the end of its path, and when neither matches, by its first line. The file_types setting adds your own matches (Settings).
| Language | Highlighting | Files | First line |
|---|---|---|---|
| C | built in | c | - |
| C# | package | cs | - |
| C++ | built in | cc ccm hh cpp cppm h hpp cxx cxxm hxx c++ c++m h++ hip ipp inl ino ixx cu cuh C H | ^//.*-\*-\s*C\+\+\s*-\*- |
| CSS | built in | css postcss pcss | - |
| Dart | package | dart | - |
| Diff | built in | diff patch | - |
| Dockerfile | built in | Dockerfile Containerfile dockerfile containerfile | - |
| Elixir | package | ex exs | - |
| Elm | package | elm | - |
| Erlang | package | erl hrl app.src escript rebar.config | - |
| Git Commit | built in | TAG_EDITMSG MERGE_MSG COMMIT_EDITMSG NOTES_EDITMSG EDIT_DESCRIPTION | - |
| Gleam | package | gleam | - |
| Go | built in | go | ^//.*\bgo run\b |
| GraphQL | package | graphql gql graphqls | - |
| Haskell | package | hs | - |
| HCL | package | hcl tf tfvars | - |
| HTML | built in | html htm | - |
| INI | built in | ini cfg editorconfig gitconfig gitmodules | - |
| Java | built in | java | - |
| JavaScript | built in | js jsx mjs cjs | ^#!.*\b(?:[/ ]node|deno run.*--ext[= ]js)\b |
| JSON | built in | json jsonc flake.lock geojson topojson prettierrc json.dist deno.lock bun.lock babelrc eslintrc swcrc | - |
| Kotlin | package | kt kts | - |
| Lua | package | lua | - |
| Makefile | built in | mk Makefile makefile GNUmakefile | - |
| Markdown | built in | md mdx mdwn mdc markdown MD | - |
| Nix | package | nix | - |
| OCaml | package | ml mli | - |
| PHP | built in | php | - |
| Plain Text | none | - | - |
| Prisma | package | prisma | - |
| Proto | package | proto | - |
| Python | built in | py pyi mpy | ^#!.*((\bpython[0-9.]*\b)|(\buv run\b)) |
| R | package | r R | - |
| Ruby | built in | rb gemspec rake Gemfile Rakefile | - |
| Rust | built in | rs | - |
| Scala | package | scala sc sbt | - |
| SCSS | built in | scss | - |
| Shell Script | built in | sh bash bashrc bash_profile bash_aliases bash_login bash_logout bats envrc profile zsh zshrc zshenv zsh_profile zsh_aliases zlogin zprofile .env PKGBUILD APKBUILD ebuild | ^#!.*\b(?:ash|bash|bats|dash|sh|zsh)\b |
| SQL | built in | sql | - |
| Svelte | package | svelte | - |
| Swift | package | swift | - |
| TOML | built in | toml Cargo.lock | - |
| TSX | built in | tsx | - |
| TypeScript | built in | ts cts mts | ^#!.*\b(?:deno run|ts-node|bun|tsx)\b |
| XML | package | xml svg xaml plist | - |
| YAML | built in | yml yaml pixi.lock clang-format clangd bst | - |
| Zig | package | zig | - |
