mirror of
https://github.com/fairyglade/ly.git
synced 2026-09-22 03:50:23 +00:00
Use Lua as a config file language (#1010)
## What are the changes about? Adds zlua for running Lua code as the configuration file. Missing as of this time: - ~~Parsing custom binds and labels~~ - ~~Fix memory leaks~~ - ~~Investigate issue with animation colours~~ - ~~Add examples and default config~~ ## What existing issue does this resolve? [#976](https://codeberg.org/fairyglade/ly/issues/976) ## Pre-requisites - [ ] I have tested & confirmed the changes work locally - [ ] I have run `zig fmt` throughout my changes Reviewed-on: https://codeberg.org/fairyglade/ly/pulls/1010 Reviewed-by: AnErrupTion <anerruption+codeberg@disroot.org>
This commit is contained in:
committed by
AnErrupTion
parent
882815343f
commit
b9742203ee
@@ -8,7 +8,7 @@ const Allocator = std.mem.Allocator;
|
||||
const InfoLine = @import("../components/InfoLine.zig");
|
||||
const Lang = @import("../config/Lang.zig");
|
||||
|
||||
const zlua = @import("zlua");
|
||||
const zlua = ly_ui.ly_core.zlua;
|
||||
|
||||
const ly_lua = @embedFile("ly.lua");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user