Skip to content

Commit

Permalink
LuaMacro: refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuz committed Oct 9, 2024
1 parent 2a81b86 commit 5228ca5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions plugins/luamacro/_globalinfo.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function export.GetGlobalInfo()
return {
Version = { 3, 0, 0, 853 },
MinFarVersion = { 3, 0, 0, 6327 },
Version = { 3, 0, 0, 854 },
MinFarVersion = { 3, 0, 0, 6380 },
Guid = win.Uuid("4EBBEFC8-2084-4B7F-94C0-692CE136894D"),
Title = "LuaMacro",
Description = "Far macros in Lua",
Expand Down
4 changes: 4 additions & 0 deletions plugins/luamacro/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
shmuel 2024-10-09 23:52:28+03:00 - build 854

1. Refactoring

shmuel 2024-10-09 17:41:49+03:00 - build 853

1. Lpeg is now part of LuaFAR (no need for lpeg.dll).
Expand Down
2 changes: 1 addition & 1 deletion plugins/luamacro/luafar/version.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#include <farversion.hpp>

#define PLUGIN_BUILD 853
#define PLUGIN_BUILD 854
7 changes: 1 addition & 6 deletions plugins/luamacro/luamacro.lua
Original file line number Diff line number Diff line change
Expand Up @@ -558,12 +558,7 @@ local function Init()

macrobrowser = RunPluginFile("mbrowser.lua", Shared)

do -- force MoonScript to load lpeg.dll residing in %farhome%
local cpath = package.cpath
package.cpath = win.GetEnv("farhome").."\\?.dll"
RunPluginFile("moonscript.lua")
package.cpath = cpath
end
RunPluginFile("moonscript.lua")

if bit and jit then
RunPluginFile("winapi.lua")
Expand Down

0 comments on commit 5228ca5

Please sign in to comment.