aboutsummaryrefslogtreecommitdiffstats
path: root/tree-sitter-yts/grammar.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tree-sitter-yts/grammar.js19
1 files changed, 9 insertions, 10 deletions
diff --git a/tree-sitter-yts/grammar.js b/tree-sitter-yts/grammar.js
index 7576228..cf76d78 100644
--- a/tree-sitter-yts/grammar.js
+++ b/tree-sitter-yts/grammar.js
@@ -1,14 +1,13 @@
-// yt - A fully featured command line YouTube client
-//
-// Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
-// SPDX-License-Identifier: GPL-3.0-or-later
-//
-// This file is part of Yt.
-//
-// You should have received a copy of the License along with this program.
-// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
+/**
+ * @file Parser for yt's selection language
+ * @author Benedikt Peetz <benedikt.peetz@b-peetz.de>
+ * @license GPL-3-or-later
+ */
-module.exports = grammar({
+/// <reference types="tree-sitter-cli/dsl" />
+// @ts-check
+
+export default grammar({
name: "yts",
rules: {