diff options
author | 2010-04-08 20:03:38 -0400 | |
---|---|---|
committer | 2010-04-08 20:03:38 -0400 | |
commit | 469ab58856f356fc32f3d101f228de43e615767c (patch) | |
tree | 1dc0b9f62cb2fdea3ba36ada04908619a6e1ab7e | |
parent | d7d389404806cf9a512cbe2b7d9700fe983a40d6 (diff) | |
download | textadept-469ab58856f356fc32f3d101f228de43e615767c.tar.gz textadept-469ab58856f356fc32f3d101f228de43e615767c.zip |
Fixed bug in Lua module commands; modules/lua/commands.lua
Thanks to Rob Gieseke.
-rw-r--r-- | modules/lua/commands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lua/commands.lua b/modules/lua/commands.lua index ee6cbbe5..53d7f0dd 100644 --- a/modules/lua/commands.lua +++ b/modules/lua/commands.lua @@ -58,7 +58,7 @@ function goto_required() local lfs = require 'lfs' for path in package.path:gmatch('[^;]+') do path = path:gsub('?', file) - if lfs.attributes(file) then + if lfs.attributes(path) then textadept.io.open(textadept.iconv(path, 'UTF-8', _CHARSET)) break end |