aboutsummaryrefslogtreecommitdiff
path: root/modules/lua/commands.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lua/commands.lua')
-rw-r--r--modules/lua/commands.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/lua/commands.lua b/modules/lua/commands.lua
index b2423a51..da7bd6aa 100644
--- a/modules/lua/commands.lua
+++ b/modules/lua/commands.lua
@@ -69,7 +69,6 @@ end
-- Determines the Lua file being 'require'd, searches through package.path for
-- that file, and opens it in Textadept.
function goto_required()
- local buffer = buffer
local line = buffer:get_cur_line()
local patterns = { 'require%s*(%b())', 'require%s*(([\'"])[^%2]+%2)' }
local file