about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-07-16 19:27:58 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-07-16 19:27:58 -0700
commit0ac44f0756fe507ade41296b6e0cf3df9eab4863 (patch)
treea01a63c20c5bd902f1a8361f59b3b79c8ffd335c
parentf61d4269f50fa317f02fc2195baa4bd758aee525 (diff)
downloadtext.love-0ac44f0756fe507ade41296b6e0cf3df9eab4863.tar.gz
formatting
-rw-r--r--app.lua4
-rw-r--r--edit.lua2
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