Open Neo-29 opened 6 months ago
I get this too, of course - everyone with the newest version will.
Still waiting for this.. Note that the official installation instructions and configuration documentation tell people to use the new TOML
configuration file... so you're losing a lot of potential users with this lack of support.
Still waiting for this.. Note that the official installation instructions and configuration documentation tell people to use the new
TOML
configuration file... so you're losing a lot of potential users with this lack of support.
What do you mean " waiting for this"? You can install it manually in 5 minutes. You don't need to wait.
@emilBeBri Of course it's what I ended up doing after alacritty-themes
didn't work. Just trying to be helpful to let developers know this issue breaks this project for anybody following the latest setup documentation - and that it's been over three months since the issue was noticed.
@wcheek ok that makes sense.
I made a new release v6.0.0 in npm, please check and let me know or any issues
@rajasegar So fast.
It looks like it works now. There are a few issues I see.
Before replacing my entire custom config file the TOML
parser threw an error about one of my keybindings:
C:\Users\104104\AppData\Roaming\npm\node_modules\alacritty-themes\node_modules\@iarna\toml\lib\toml-parser.js:17
const terr = new TomlError(err.message)
^
TomlError: Control characters (codes < 0x1f and 0x7f) are not allowed in strings, use \u007f instead at row 320, col 16, pos 4793:
319: [[keyboard.bindings]]
at TOMLParser.parseBasicString (C:\Users\104104\AppData\Roaming\npm\node_modules\alacritty-themes\node_modules\@iarna\toml\lib\toml-parser.js:670:22)
at TOMLParser.runOne (C:\Users\104104\AppData\Roaming\npm\node_modules\alacritty-themes\node_modules\@iarna\toml\lib\parser.js:64:30)
at TOMLParser.goto (C:\Users\104104\AppData\Roaming\npm\node_modules\alacritty-themes\node_modules\@iarna\toml\lib\parser.js:87:17)
at TOMLParser.recordEscapeReplacement (C:\Users\104104\AppData\Roaming\npm\node_modules\alacritty-themes\node_modules\@iarna\toml\lib\toml-parser.js:678:19)
at TOMLParser.runOne (C:\Users\104104\AppData\Roaming\npm\node_modules\alacritty-themes\node_modules\@iarna\toml\lib\parser.js:64:30)
at TOMLParser.returnNow (C:\Users\104104\AppData\Roaming\npm\node_modules\alacritty-themes\node_modules\@iarna\toml\lib\parser.js:107:17)
at TOMLParser.parseUnicodeReturn (C:\Users\104104\AppData\Roaming\npm\node_modules\alacritty-themes\node_modules\@iarna\toml\lib\toml-parser.js:783:21)
at TOMLParser.runOne (C:\Users\104104\AppData\Roaming\npm\node_modules\alacritty-themes\node_modules\@iarna\toml\lib\parser.js:64:30)
at TOMLParser.parse (C:\Users\104104\AppData\Roaming\npm\node_modules\alacritty-themes\node_modules\@iarna\toml\lib\parser.js:45:22) {
fromTOML: true,
wrapped: null,
line: 319,
col: 15,
pos: 4793
},
code: undefined,
line: 319,
col: 15,
pos: 4793
}
Here is the suspect key binding:
[[keyboard.bindings]]
chars = "\u001b^?"
key = "Back"
mods = "Alt"
I did the fix the error suggested and the TOML
parser successfully ran but has completely replaced my config with a simple import of the theme.. this is not really ideal since I lost some of my custom settings.. I'm able to add them back under the import
.. but if I use alacritty-themes
again, my custom settings are again removed.
Does alacritty-themes
not preserve custom configs? If so, what is the point of the TOML
parser if the config just get completely replaced?
It should, I think during the yml to toml conversion, there is some bug introduced, will fix it asap and let you folks know
Pushed a new release 6.0.2 in npm
mv alacritty.toml.xxxxxx.bak alacritty.toml
I tested the new version
No preview of the themes when scrollling...
is it normal?
@Neo-29 Yes it is intended, since the preview functionality is buggy I turned it off temporarily will update this thread once it is fixed
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
use alacritty-themes
Expected behavior
usual behaviour with choices
A clear and concise description of what you expected to happen.
Operating System:
Add your alacritty.yml content
warning new toml config