include helix editor configs

This commit is contained in:
Brent Schroeter 2026-02-02 17:59:51 +00:00
parent ff2e135d72
commit 3c2ef378bc
2 changed files with 14 additions and 0 deletions

2
.helix/ignore Normal file
View file

@ -0,0 +1,2 @@
node_modules
dist

12
.helix/languages.toml Normal file
View file

@ -0,0 +1,12 @@
[[language]]
name = "typescript"
scope = "source.ts"
injection-regex = "(ts|typescript)"
language-id = "typescript"
file-types = ["ts", "mts", "cts"]
shebangs = ["deno", "bun", "ts-node"]
roots = [ "package.json", "tsconfig.json" ]
comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" }
language-servers = [ "typescript-language-server", "vscode-eslint-language-server" ]
indent = { tab-width = 2, unit = " " }