diff --git a/package.json b/package.json index 93d59ed..a0accfd 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "publishConfig": { "access": "public" }, - "version": "0.4.1", + "version": "0.4.2", "description": "Tenzir Query Language (TQL) support for CodeMirror", "scripts": { "build": "lezer-generator src/tql.grammar -o src/parser && rollup -c", diff --git a/src/index.ts b/src/index.ts index 505dd1f..e265426 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,7 @@ import { styleTags, tags as t } from "@lezer/highlight"; import { completeFromList, Completion } from "@codemirror/autocomplete"; import { data } from "../output.js"; -const puncation = `"+" "-" "*" "/" "," "=" "." "'" ":" "!" "?" "<" ">" "@" "%" "&" "#" ";" "^" "\`"`; +const punctuation = `"+" "-" "*" "/" "=" "." "'" ":" "!" "?" "<" ">" "@" "%" "&" "#" ";" "^" "\`"`; export const TenzirQueryLang = LRLanguage.define({ parser: parser.configure({ @@ -14,7 +14,7 @@ export const TenzirQueryLang = LRLanguage.define({ "String": t.string, "StringEsc and else if in let match meta not or this": t.keyword, "OpName! FnIdent": t.name, - [puncation]: t.punctuation, + [punctuation]: t.punctuation, "LineComment BlockComment": t.comment, }), ],