mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-12-01 03:15:33 +03:00
At least partly highlight tsx
This commit is contained in:
parent
d85a8adb27
commit
2bef245b7a
@ -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…
Reference in New Issue
Block a user