diff options
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 26ad5ddc..87f03d06 100644 --- a/languages.toml +++ b/languages.toml @@ -66,6 +66,17 @@ roots = [] indent = { tab-width = 2, unit = " " } [[language]] +name = "typescript" +scope = "source.ts" +injection-regex = "^(ts|typescript)$" +file-types = ["ts"] +roots = [] +# TODO: highlights-jsx, highlights-params + +language-server = { command = "typescript-language-server", args = ["--stdio"] } +indent = { tab-width = 2, unit = " " } + +[[language]] name = "css" scope = "source.css" injection-regex = "css" |