rszyma / vscode-kanata

Language support for kanata configuration files in VS Code
https://marketplace.visualstudio.com/items?itemName=rszyma.vscode-kanata
GNU Lesser General Public License v3.0
16 stars 0 forks source link

error reporting cmd is not enabled while it is #8

Closed Fred-Vatin closed 11 months ago

Fred-Vatin commented 11 months ago
VS Code version OS Extension version
1.84.2 Win 10 x64 pro (french) 21H2 v0.4.0

Test this config

(defcfg
    process-unmapped-keys yes
    danger-enable-cmd yes
    log-layer-changes yes
)

(defsrc
    esc
)

(defalias
    esc (tap-hold 200 200 f (cmd cmd /k "echo test"))
)

(deflayer base
    @esc
)

It reports error line 12 cmd is not enabled but cmd action is specified somewhere.