aboutsummaryrefslogtreecommitdiffstats
path: root/queries/typescript
diff options
context:
space:
mode:
authorPhạm Huy Hoàng <hoangtun0810@gmail.com>2024-03-21 20:44:35 +0900
committerChristian Clason <c.clason@uni-graz.at>2024-03-21 15:51:26 +0100
commit722617e6726c1508adadf83d531f54987c703be0 (patch)
tree951cdcf1cd2571647a3e5afdc11d6fae5e88b630 /queries/typescript
parentfeat(rust): improve indents (diff)
downloadnvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar
nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.gz
nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.bz2
nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.lz
nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.xz
nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.tar.zst
nvim-treesitter-722617e6726c1508adadf83d531f54987c703be0.zip
refactor(format): drop extra indentation for field
Diffstat (limited to 'queries/typescript')
-rw-r--r--queries/typescript/highlights.scm15
1 files changed, 7 insertions, 8 deletions
diff --git a/queries/typescript/highlights.scm b/queries/typescript/highlights.scm
index 48f891cc4..5fae21b96 100644
--- a/queries/typescript/highlights.scm
+++ b/queries/typescript/highlights.scm
@@ -197,11 +197,10 @@
; property signatures
(property_signature
name: (property_identifier) @function.method
- type:
- (type_annotation
- [
- (union_type
- (parenthesized_type
- (function_type)))
- (function_type)
- ]))
+ type: (type_annotation
+ [
+ (union_type
+ (parenthesized_type
+ (function_type)))
+ (function_type)
+ ]))