diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2021-05-22 17:02:06 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2021-05-22 17:02:10 -0400 |
commit | 68342e28ee03c7bd50cfc0ef4e41425b3d278d30 (patch) | |
tree | 3cdc3302816d8fe0049061672efc5071c1f956f1 /plugins/restoretabs.lua | |
parent | c39bd47899c2c850813cab4e0eb0cc1aeeea389a (diff) | |
download | lite-xl-plugins-68342e28ee03c7bd50cfc0ef4e41425b3d278d30.tar.gz lite-xl-plugins-68342e28ee03c7bd50cfc0ef4e41425b3d278d30.zip |
Fixed typo.
Diffstat (limited to 'plugins/restoretabs.lua')
-rw-r--r-- | plugins/restoretabs.lua | 2 |
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) |