From 2d00b6f896b810440d281d692736616c29f97e18 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Thu, 1 Aug 2024 18:56:44 -0400 Subject: [PATCH] feat(utility): add `lua-json5` --- lua/astrocommunity/utility/lua-json5/README.md | 9 +++++++++ lua/astrocommunity/utility/lua-json5/init.lua | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 lua/astrocommunity/utility/lua-json5/README.md create mode 100644 lua/astrocommunity/utility/lua-json5/init.lua diff --git a/lua/astrocommunity/utility/lua-json5/README.md b/lua/astrocommunity/utility/lua-json5/README.md new file mode 100644 index 000000000..6c5b95e57 --- /dev/null +++ b/lua/astrocommunity/utility/lua-json5/README.md @@ -0,0 +1,9 @@ +# Json5 parser for luajit + +Requires: + +- [cargo](https://doc.rust-lang.org/stable/cargo/) - Rust package manager + +A json5 parser for luajit + +**Repository:** diff --git a/lua/astrocommunity/utility/lua-json5/init.lua b/lua/astrocommunity/utility/lua-json5/init.lua new file mode 100644 index 000000000..a94088632 --- /dev/null +++ b/lua/astrocommunity/utility/lua-json5/init.lua @@ -0,0 +1,4 @@ +return { + "Joakker/lua-json5", + build = vim.fn.has "win32" == 1 and "powershell ./install.ps1" or "./install.sh", +}