Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Lycs-D committed Apr 8, 2024
1 parent ca0d8db commit c8e67d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tree_sitter_v/grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const list_separator = choice(semi, ',');
module.exports = grammar({
name: 'v',

extras: ($) => [/[ \t]+|(\r?\n)+/, $.line_comment, $.block_comment],
extras: ($) => [/\s+/, $.line_comment, $.block_comment],

word: ($) => $.identifier,

Expand Down
4 changes: 2 additions & 2 deletions tree_sitter_v/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"install": "node-gyp-build",
"prebuildify": "prebuildify --napi --strip",
"lint": "eslint \"**/*.js\"",
"format": "prettier --write \"grammar.js\"",
"format:check": "prettier --check \"grammar.js\""
"format": "prettier --write \"**/*.js\"",
"format:check": "prettier --check \"**/*.js\""
},
"dependencies": {
"node-addon-api": "^8.0.0",
Expand Down

0 comments on commit c8e67d5

Please sign in to comment.