Last active
March 3, 2023 07:33
-
-
Save boydaihungst/0dda7965f191977a8b376ca59646fade to your computer and use it in GitHub Desktop.
nvim-rainbow-error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; interface a {} | |
(object_type | |
(("{" @opening) | |
("}" @closing))) @container | |
; not work | |
; const obj = { ...(true ? {} : {}) }; | |
(parenthesized_expression | |
(("(" @opening) | |
(")" @closing))) @container | |
; not work | |
; const a = objectB['propertyC']; | |
(subscript_expression | |
(("[" @opening) | |
("]" @closing))) @container | |
; not work | |
; const c = [] | |
(array | |
(("[" @opening) | |
("]" @closing))) @container | |
; not work | |
; import { funcA } from "moduleA" | |
(named_imports | |
(("{" @opening) | |
("}" @closing))) @container | |
; not work | |
; export { interfaceA } from "moduleA" | |
(export_clause | |
(("{" @opening) | |
("}" @closing))) @container | |
; not work | |
; const d = (): Promise<boolean> => {return Promise.resolve(true);} | |
; const e = {propB: Promise<unknown>} | |
(type_arguments | |
(("<" @opening) | |
(">" @closing))) @container | |
; not work | |
; enum f { | |
; propB = 'value', | |
; } | |
(enum_body | |
(("{" @opening) | |
("}" @closing))) @container |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface a {} | |
const obj = { ...(true ? {} : {}) }; | |
const objectB = { | |
propertyC: true | |
} | |
const a = objectB['propertyC']; | |
const c = [] | |
import { funcA } from "moduleA" | |
export { interfaceA } from "moduleA" | |
const d = (): Promise<boolean> => {return Promise.resolve(true);} | |
const e = {propB: Promise<unknown>} | |
enum f { | |
propB = 'value', | |
} | |
Author
boydaihungst
commented
Mar 3, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment