mirror of
https://github.com/HiPhish/rainbow-delimiters.nvim.git
synced 2024-09-16 14:24:05 +02:00
Add missing queries for TypeScript interface and enum
This commit is contained in:
parent
df28ee219c
commit
eb3e304523
2 changed files with 12 additions and 0 deletions
|
@ -1,5 +1,13 @@
|
|||
; inherits: javascript
|
||||
|
||||
(interface_body
|
||||
"{" @delimiter
|
||||
"}" @delimiter @sentinel) @container
|
||||
|
||||
(enum_body
|
||||
"{" @delimiter
|
||||
"}" @delimiter @sentinel) @container
|
||||
|
||||
(type_arguments
|
||||
"<" @delimiter
|
||||
">" @delimiter @sentinel) @container
|
||||
|
|
|
@ -39,6 +39,10 @@ interface Request {
|
|||
body: RequestProp['body'];
|
||||
}
|
||||
|
||||
enum A {
|
||||
Foo = "Bar",
|
||||
}
|
||||
|
||||
// Template strings
|
||||
const who = 'world';
|
||||
console.log(`Hello, ${who}`);
|
||||
|
|
Loading…
Reference in a new issue