Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / acorn-jsx / index.js
index 0ff263c5adae0382ec9c6f8f66dc0ba43abead1e..004e0809024006335916314d605090629b73575f 100644 (file)
@@ -27,7 +27,7 @@ function getJsxTokens(acorn) {
     const tokTypes = {
       jsxName: new TokenType('jsxName'),
       jsxText: new TokenType('jsxText', {beforeExpr: true}),
-      jsxTagStart: new TokenType('jsxTagStart'),
+      jsxTagStart: new TokenType('jsxTagStart', {startsExpr: true}),
       jsxTagEnd: new TokenType('jsxTagEnd')
     };