diff --git a/init.lua b/init.lua index c2db05a..6e8ee87 100644 --- a/init.lua +++ b/init.lua @@ -2,27 +2,14 @@ local core = require "core" local style = require "core.style" local command = require "core.command" -local keymap = require "core.keymap" local View = require "core.view" local process = require "process" -- Child Processes API local config = require "core.config" -local function dump(o) - if type(o) == 'table' then - local s = '{ ' - for k,v in pairs(o) do - if type(k) ~= 'number' then k = '"'..k..'"' end - s = s .. '['..k..'] = ' .. dump(v) .. ',' - end - return s .. '} ' - else - return tostring(o) - end -end - local active_views = {} -- ---------- JPDebugView: a simple scrollable log view ---------- +---@class JPDebugView : core.view local JPDebugView = View:extend() function JPDebugView:new(title) diff --git a/test.lua b/test.lua index 23ae5a6..01400a8 100644 --- a/test.lua +++ b/test.lua @@ -2,4 +2,4 @@ print("Starting loop: test 123") for i = 1, 5 do print("i =", i) -- we'll stop here end - +print("Yaaayyyy it works perfectly fine :)")