aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/file_io.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/file_io.lua b/core/file_io.lua
index 04ad9680..39d005b2 100644
--- a/core/file_io.lua
+++ b/core/file_io.lua
@@ -396,8 +396,8 @@ io.quick_open_filters = {}
-- string and a filter for it is defined in `io.quick_open_filters`.
-- @param opts Optional table of additional options for
-- `ui.dialogs.filteredlist()`.
--- @usage io.quick_open(buffer.filename:match('^.+/')) -- list all files in the
--- current file's directory, subject to the default filter
+-- @usage io.quick_open(buffer.filename:match('^(.+)[/\\]')) -- list all files
+-- in the current file's directory, subject to the default filter
-- @usage io.quick_open(io.get_current_project(), '.lua') -- list all Lua files
-- in the current project
-- @usage io.quick_open(io.get_current_project(), '!/build') -- list all files