From bfe4bc13af5148a0676490c8e9529c83d2dac3a7 Mon Sep 17 00:00:00 2001 From: rszyma Date: Sat, 18 Nov 2023 09:39:18 +0100 Subject: [PATCH] fix: cmd showing error when it shouldn't (#9) --- CHANGELOG.md | 6 +++++- kls/Cargo.toml | 6 +----- package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 300a59b..1975ccd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,15 @@ * no changes yet +### 0.4.1 + +* Fixed: `cmd` action no longer shows an error "cmd is not enabled" even if `danger-enable-cmd` is enabled ([#8](https://github.com/rszyma/vscode-kanata/issues/8)) + ### 0.4.0 * Fixed: Linux OsCode mapping are no longer used on Windows ([#5](https://github.com/rszyma/vscode-kanata/issues/5)) * Added item to command palette: `Kanata: Set current file as main` -* Updated kanata to [54daa6b](https://github.com/jtroo/kanata/tree/54daa6b49eadf4cf3c2f7fe9c369ce195084d348) +* Updated kanata to [54daa6b](https://github.com/jtroo/kanata/tree/54daa6b) ### 0.3.0 diff --git a/kls/Cargo.toml b/kls/Cargo.toml index 6349258..2ac0944 100644 --- a/kls/Cargo.toml +++ b/kls/Cargo.toml @@ -16,11 +16,7 @@ crate-type = ["cdylib"] bench = false [dependencies] -# kanata-parser = "0.20.0" -# Uncomment below and comment out above for testing local changes. -# Otherwise any changes to the local files will not reflect in the compiled -# binary. -kanata-parser = { path = "../kanata/parser" } +kanata-parser = { path = "../kanata/parser", features = ["cmd"]} console_error_panic_hook = "0.1.6" js-sys = "0.3.53" diff --git a/package.json b/package.json index ae70349..8e50324 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "0.4.0", + "version": "0.4.1", "name": "vscode-kanata", "displayName": "Kanata Configuration Language", "author": "rszyma",