aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept')
-rw-r--r--modules/textadept/find.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/textadept/find.lua b/modules/textadept/find.lua
index 78b83d4f..9689b025 100644
--- a/modules/textadept/find.lua
+++ b/modules/textadept/find.lua
@@ -101,13 +101,13 @@ local preferred_view
--
-- Any patterns starting with '!' exclude files and directories that do not
-- match the pattern that follows.
--- The default value is `lfs.FILTER`, a filter for common binary file extensions
--- and version control directories.
+-- The default value is `lfs.default_filter`, a filter for common binary file
+-- extensions and version control directories.
-- @see find_in_files
--- @see lfs.FILTER
+-- @see lfs.default_filter
-- @class table
-- @name FILTER
-M.FILTER = lfs.FILTER
+M.FILTER = lfs.default_filter
-- Text escape sequences with their associated characters and vice-versa.
-- @class table
@@ -310,7 +310,7 @@ function M.find_in_files(dir)
line_num = line_num + 1
end
f:close()
- end, M.FILTER, true)
+ end, M.FILTER)
if not found then buffer:append_text(_L['No results found']) end
ui._print(_L['[Files Found Buffer]'], '') -- goto end, set save pos, etc.
end