aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2021-05-22 17:02:06 -0400
committerAdam Harrison <adamdharrison@gmail.com>2021-05-22 17:02:10 -0400
commit68342e28ee03c7bd50cfc0ef4e41425b3d278d30 (patch)
tree3cdc3302816d8fe0049061672efc5071c1f956f1 /plugins
parentc39bd47899c2c850813cab4e0eb0cc1aeeea389a (diff)
downloadlite-xl-plugins-68342e28ee03c7bd50cfc0ef4e41425b3d278d30.tar.gz
lite-xl-plugins-68342e28ee03c7bd50cfc0ef4e41425b3d278d30.zip
Fixed typo.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/restoretabs.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/restoretabs.lua b/plugins/restoretabs.lua
index 9607169..6776e2c 100644
--- a/plugins/restoretabs.lua
+++ b/plugins/restoretabs.lua
@@ -29,7 +29,7 @@ RootView.update = function(self)
end
table.insert(tab_history, closing_filename)
if #tab_history > history_size then
- tab_history.remove(tab_history, 1)
+ table.remove(tab_history, 1)
end
end
old_close(self, root, view)