include helix editor configs
This commit is contained in:
parent
ff2e135d72
commit
3c2ef378bc
2 changed files with 14 additions and 0 deletions
2
.helix/ignore
Normal file
2
.helix/ignore
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
node_modules
|
||||||
|
dist
|
||||||
12
.helix/languages.toml
Normal file
12
.helix/languages.toml
Normal 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 = " " }
|
||||||
Loading…
Add table
Reference in a new issue