[parser] Bug: variables and concat
don't get parsed correctly in the name part of a deflayermap definition
#1027
Labels
bug
Something isn't working
Requirements
Describe the bug
variables and
concat
don't get parsed correctly in the name part/arg of a deflayermap definitionthis doesn't parse correctly (var reference in name arg):
-- parses without errors but the layer is named in a literal way:
$name
and this doesn't also (using
concat
):-- does not parse
Relevant kanata config
deflayermap
To Reproduce
$var
or(concat what ever)
as the name argument indeflayermap
Expected behavior
layer name should be parsed correctly and the layer named correctly
Kanata version
kanata 1.7.0-prerelease ( 13eaddd )
Debug logs
I don't think it might help or is necessary
Operating system
Windows 11
Additional context
I think you're familiar with my modus operandi of using Kanata, I use modes, and the way I enter modes is with key sequences, e.g. in the default mode "normal mode" I press
i
to enter insert mode (layer) to type text, or I pressk
to enter an "auto layer
" a layer specific to the currently focused window's application, i.e. if explorer.exe is the currently focused window, when I pressk
, TCP client switches toexplorerLyr
, if it's VSCode it switches tocodeLyr
etc., I was trying to refactor my layer names in all of my modes' files for readability and maintainability, using variables andconcat
.The text was updated successfully, but these errors were encountered: