aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/file_io.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2020-10-08 20:48:00 -0400
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2020-10-08 20:48:00 -0400
commit3426fedb2a440c60e8bee06dfa0464d8aa3e2c36 (patch)
treea021fbee7543729e95252135d2aa05c824206e73 /core/file_io.lua
parentc7da1390699fd2bb35a41bd289d4937e6bd0e2bd (diff)
Small LuaDoc update.
Diffstat (limited to 'core/file_io.lua')
-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