1
Fork 0
satellite/dotfiles/neovim/lua/my/plugins/moonwalk.lua

21 lines
451 B
Lua
Raw Normal View History

2022-12-26 20:07:10 +01:00
local M = {}
2022-12-27 20:45:43 +01:00
-- function M.setup()
-- require("moonwalk").add_loader("tl", function(src, path)
-- local tl = require("tl")
-- local errs = {}
-- local _, program = tl.parse_program(tl.lex(src), errs)
--
-- if #errs > 0 then
-- error(
-- path .. ":" .. errs[1].y .. ":" .. errs[1].x .. ": " .. errs[1].msg,
-- 0
-- )
-- end
--
-- return tl.pretty_print_ast(program)
-- end)
-- end
2022-12-26 20:07:10 +01:00
return M