From 7ab82de501963f5a26172d8c14e7b3897523e38d Mon Sep 17 00:00:00 2001 From: omarelfouly Date: Thu, 24 Oct 2024 13:02:16 +0300 Subject: [PATCH 1/2] Adds negative lookahead to correct tokenization --- syntaxes/verilog.tmLanguage.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntaxes/verilog.tmLanguage.json b/syntaxes/verilog.tmLanguage.json index 2b42cce3..b1f986f6 100644 --- a/syntaxes/verilog.tmLanguage.json +++ b/syntaxes/verilog.tmLanguage.json @@ -105,7 +105,7 @@ "include": "#keywords" }, { - "begin": "^\\s*([a-zA-Z][a-zA-Z0-9_]*)\\s+([a-zA-Z][a-zA-Z0-9_]*)(? Date: Thu, 24 Oct 2024 13:05:55 +0300 Subject: [PATCH 2/2] Adds linting fix to changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95eb3d4f..3c99ae58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)\ +## Unreleased + +### Fixed +- Fix the issue of keywords being tokenized as entity.name.tag.module.reference.verilog instead of keyword.other.verilog to fix the issue in [#476](https://github.com/mshr-h/vscode-verilog-hdl-support/issues/476) + ## [1.15.2] - 2024-10-19 ### Changed