This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/common/helix/languages.toml

86 lines
2.6 KiB
TOML
Raw Normal View History

2022-10-19 09:29:01 -05:00
[[language]]
name = "elixir"
2023-08-10 20:22:42 -05:00
language-server = { command = "lexical", args = ["start"] }
2022-10-19 09:29:01 -05:00
auto-format = true
2022-12-01 10:30:21 -06:00
2023-04-25 14:13:44 -05:00
[[language]]
name = "html"
auto-format = false
2023-08-02 21:36:47 -05:00
[[language]]
name = "nix"
auto-format = true
formatter = { command = "nixpkgs-fmt", args = [] }
2023-05-17 10:12:41 -05:00
[[language]]
name = "fish"
auto-format = true
indent = { tab-width = 2, unit = "\t" }
2023-05-19 14:36:25 -05:00
2023-07-03 23:55:31 -05:00
[[language]]
name = "go"
indent = { tab-width = 2, unit = "\t" }
2023-05-24 15:27:31 -05:00
[[language]]
name = "javascript"
scope = "source.js"
injection-regex = "^(js|javascript)$"
file-types = ["js", "jsx", "mjs"]
shebangs = ["deno", "node"]
roots = ["deno.jsonc", "deno.json", "package.json", "tsconfig.json"]
comment-token = "//"
2023-05-19 14:36:25 -05:00
# config = { enable = true, lint = true, unstable = true }
2023-05-24 15:27:31 -05:00
# language-server = { command = "typescript-language-server", args = ["--stdio"], language-id = "javascript" }
indent = { tab-width = 2, unit = "\t" }
auto-format = true
2023-05-19 14:36:25 -05:00
# [[language]]
# name = "jsx"
# scope = "source.jsx"
# injection-regex = "jsx"
# file-types = ["jsx"]
# shebangs = ["deno", "node"]
# roots = ["deno.jsonc", "deno.json", "package.json", "tsconfig.json"]
# comment-token = "//"
# config = { enable = true, lint = true, unstable = true }
# language-server = { command = "deno", args = ["lsp"], language-id = "javascriptreact" }
# indent = { tab-width = 2, unit = " " }
# grammar = "javascript"
# auto-format = true
# [[language]]
# name = "typescript"
# scope = "source.ts"
# injection-regex = "^(ts|typescript)$"
# file-types = ["ts"]
# shebangs = ["deno", "node"]
# roots = ["deno.jsonc", "deno.json", "package.json", "tsconfig.json"]
# config = { enable = true, lint = true, unstable = true }
# language-server = { command = "deno", args = ["lsp"], language-id = "typescript" }
# indent = { tab-width = 2, unit = " " }
# auto-format = true
# [[language]]
# name = "tsx"
# scope = "source.tsx"
# injection-regex = "^(tsx)$" # |typescript
# file-types = ["tsx"]
# shebangs = ["deno", "node"]
# roots = ["deno.jsonc", "deno.json", "package.json", "tsconfig.json"]
# config = { enable = true, lint = true, unstable = true }
# language-server = { command = "deno", args = ["lsp"], language-id = "typescriptreact" }
# indent = { tab-width = 2, unit = " " }
# auto-format = true
# [[language]]
# name = "jsonc"
# scope = "source.jsonc"
# injection-regex = "^(jsonc)$"
# file-types = ["jsonc"]
# shebangs = ["deno", "node"]
# roots = ["deno.jsonc", "deno.json", "package.json", "tsconfig.json"]
# config = { enable = true, lint = true, unstable = true }
# language-server = { command = "deno", args = ["lsp"], language-id = "jsonc" }
# indent = { tab-width = 2, unit = " " }
# auto-format = true