leafgarland / typescript-vim

Typescript syntax files for Vim
1.9k stars 144 forks source link

Add closing '>' to containing groups #176

Closed pappasam closed 4 years ago

pappasam commented 4 years ago

Simple fix. Now paired '<>' close like (), {}, and []. Eg:

const myFunction = <
  GenericA,
  GenericB,
  GenericC
>(a: GenericA, b: GenericB, c:GenericC): GenericA => {
  return a
}

It seems to work correctly for edge cases that I've tested.

pappasam commented 4 years ago

@leafgarland bump