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
4'>154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265