]> git.r.bdr.sh - rbdr/tree-sitter-api-notation/blobdiff - package.json
Update plugin structure
[rbdr/tree-sitter-api-notation] / package.json
index 25bb2484c3e5ec74eaedbee471f88f463b8a277f..5169fca0ccebaa2105abfc440c3b2e214eb8aa4b 100644 (file)
@@ -16,7 +16,7 @@
     "tree-sitter-cli": "^0.20.8"
   },
   "scripts": {
-    "build": "tree-sitter generate && node-gyp build",
+    "build": "tree-sitter generate",
     "parse": "tree-sitter parse",
     "test": "tree-sitter test"
   },
     {
       "scope": "source.api-notation",
       "file-types": [
-        "apinotation",
         "api"
       ],
       "highlights": [
         "queries/highlights.scm"
       ],
-      "injection-regex": "^(apinotation|api-notation)$"
+      "injection-regex": "api_notation"
     }
   ]
 }