From 0ac44f0756fe507ade41296b6e0cf3df9eab4863 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 16 Jul 2022 19:27:58 -0700 Subject: formatting --- app.lua | 4 ++-- edit.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app.lua b/app.lua index ff6a7de..1fa94ba 100644 --- a/app.lua +++ b/app.lua @@ -304,7 +304,7 @@ function App.open_for_writing(filename) end end, close = function(self) - end + end, } end @@ -314,7 +314,7 @@ function App.open_for_reading(filename) return App.filesystem[filename]:gmatch('[^\n]+') end, close = function(self) - end + end, } end diff --git a/edit.lua b/edit.lua index 21e7d86..abb6260 100644 --- a/edit.lua +++ b/edit.lua @@ -142,7 +142,7 @@ function edit.draw(State) end schedule_save(State) record_undo_event(State, {before=Drawing.before, after=snapshot(State, line_index-1, line_index+1)}) - end + end, }) if State.search_term == nil then if line_index == State.cursor1.line then -- cgit 1.4.1-2-gfad0