At least partly highlight tsx
This commit is contained in:
parent
d85a8adb27
commit
2bef245b7a
2 changed files with 12 additions and 0 deletions
|
@ -116,6 +116,17 @@ roots = []
|
|||
language-server = { command = "typescript-language-server", args = ["--stdio"] }
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
|
||||
[[language]]
|
||||
name = "tsx"
|
||||
scope = "source.tsx"
|
||||
injection-regex = "^(tsx)$" # |typescript
|
||||
file-types = ["tsx"]
|
||||
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"
|
||||
|
|
1
runtime/queries/tsx/highlights.scm
Normal file
1
runtime/queries/tsx/highlights.scm
Normal file
|
@ -0,0 +1 @@
|
|||
; inherits: typescript
|
Loading…
Add table
Reference in a new issue