mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 10:56:19 +04: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