From 134d76e4dcbbf9896ee177c3f913a3fe82d18c35 Mon Sep 17 00:00:00 2001 From: Daniel Vartanian Date: Sun, 7 Jun 2026 14:45:36 -0300 Subject: [PATCH 1/3] Add wordPattern to language configuration --- language-configuration.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/language-configuration.json b/language-configuration.json index d2a46f4..82fe088 100644 --- a/language-configuration.json +++ b/language-configuration.json @@ -15,5 +15,6 @@ ["[", "]"], ["(", ")"], ["\"", "\""] - ] + ], + "wordPattern": "(-?\\d*\\.\\d\\w*)|([a-zA-Z_][a-zA-Z0-9_\\-?!]*)" } From d22ba88a44d470ff62154bb74c31a23b5d2786f1 Mon Sep 17 00:00:00 2001 From: Daniel Vartanian Date: Sun, 7 Jun 2026 14:48:52 -0300 Subject: [PATCH 2/3] Update CHANGELOG --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d88c19..e422379 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## v0.1.7.9000 (development version) -- A [Zenodo](https://zenodo.org) DOI has been created for this extension. +- Added `wordPattern` to `language-configuration.json` (#11). +- A [Zenodo](https://zenodo.org) DOI has been created for the extension. ## v0.1.6 (2026-01-03) From c46a1781dbd50c8be3d71090fec47b2f411feabb Mon Sep 17 00:00:00 2001 From: Daniel Vartanian Date: Sun, 7 Jun 2026 14:50:50 -0300 Subject: [PATCH 3/3] Add integer literals to wordPattern Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- language-configuration.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/language-configuration.json b/language-configuration.json index 82fe088..aff8d1e 100644 --- a/language-configuration.json +++ b/language-configuration.json @@ -16,5 +16,5 @@ ["(", ")"], ["\"", "\""] ], - "wordPattern": "(-?\\d*\\.\\d\\w*)|([a-zA-Z_][a-zA-Z0-9_\\-?!]*)" + "wordPattern": "(-?\\d*\\.\\d\\w*)|(-?\\d+)|([a-zA-Z_][a-zA-Z0-9_\\-?!]*)" }