aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco <francesco.bbt@gmail.com>2021-05-22 23:09:12 +0200
committerGitHub <noreply@github.com>2021-05-22 23:09:12 +0200
commit5b9a3bd28d937d131da5821f075952df80c14040 (patch)
tree3cdc3302816d8fe0049061672efc5071c1f956f1
parentc39bd47899c2c850813cab4e0eb0cc1aeeea389a (diff)
parent68342e28ee03c7bd50cfc0ef4e41425b3d278d30 (diff)
downloadlite-xl-plugins-5b9a3bd28d937d131da5821f075952df80c14040.tar.gz
lite-xl-plugins-5b9a3bd28d937d131da5821f075952df80c14040.zip
Merge pull request #18 from adamharrison/master
Fixed typo.
-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)