Skip to content

Commit

Permalink
Backport adding comment tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
dit7ya committed Jan 20, 2025
1 parent ba9ea63 commit 5c48c93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import { completeFromList } from "@codemirror/autocomplete";
import { data } from "../output.js";

export const TenzirQueryLang = LRLanguage.define({
languageData: {
commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
},
parser: parser.configure({
props: [
styleTags({
Expand Down

0 comments on commit 5c48c93

Please sign in to comment.