Skip to content

Commit

Permalink
test(typescriptreact): Do not auto close for generic argument delimters
Browse files Browse the repository at this point in the history
  • Loading branch information
akozlev committed Aug 14, 2024
1 parent 7671ef1 commit 0bbb973
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/specs/closetag_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,15 @@ local data = {
before = [[<input| ]],
after = [[<input>| ]],
},
{
name = "28 typescriptreact not close fragment in generic argument delimeters",
filepath = "./sample/index.tsx",
filetype = "typescriptreact",
linenr = 1,
key = [[>]],
before = [[type Foo = Bar<| ]],
after = [[type Foo = Bar<>]],
},
}

local autotag = require("nvim-ts-autotag")
Expand Down

0 comments on commit 0bbb973

Please sign in to comment.