diff options
author | 2009-02-14 11:17:10 -0500 | |
---|---|---|
committer | 2009-02-14 11:17:10 -0500 | |
commit | 686e6150d99fcf3dca3b5c995eb037aab476ef09 (patch) | |
tree | 3321b90e75567c95145d6f1aaf276b5c166f115f /core/ext/find.lua | |
parent | cd035a5e13b85813b6a91f8faf776ba5765e6c64 (diff) | |
download | textadept-686e6150d99fcf3dca3b5c995eb037aab476ef09.tar.gz textadept-686e6150d99fcf3dca3b5c995eb037aab476ef09.zip |
Find in Files should search in 'dot' files; core/ext/find.lua
Diffstat (limited to 'core/ext/find.lua')
-rw-r--r-- | core/ext/find.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ext/find.lua b/core/ext/find.lua index c17d37b4..1f177545 100644 --- a/core/ext/find.lua +++ b/core/ext/find.lua @@ -109,7 +109,7 @@ function find.find(text, next, flags, nowrap, wrapped) end function search_dir(directory) for file in lfs.dir(directory) do - if not file:find('^%.') then + if not file:find('^%.%.?$') then -- ignore . and .. local path = directory..'/'..file local type = lfs.attributes(path).mode if type == 'directory' then |