aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-08-23 15:10:30 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-08-23 15:10:30 -0400
commit82d86fbba6a7d5298c48b8f010aaab77a8760f84 (patch)
tree091f0a16e6029b63183d6de77d957b28afdff888 /modules
parentb8351a232697fb543324c6f2cdf0ce65aae29cf9 (diff)
downloadtextadept-82d86fbba6a7d5298c48b8f010aaab77a8760f84.tar.gz
textadept-82d86fbba6a7d5298c48b8f010aaab77a8760f84.zip
Changed the default directory depth to 99; modules/textadept/snapopen.lua
Since there is a maximum number of files to list, the depth setting does not matter so much.
Diffstat (limited to 'modules')
-rw-r--r--modules/textadept/snapopen.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/textadept/snapopen.lua b/modules/textadept/snapopen.lua
index dd379d48..fa14941c 100644
--- a/modules/textadept/snapopen.lua
+++ b/modules/textadept/snapopen.lua
@@ -25,7 +25,7 @@ local M = {}
-- extensions = { 'html' }
-- }, true)
-- @field DEFAULT_DEPTH (number)
--- Maximum directory depth to search. The default value is `4`.
+-- Maximum directory depth to search. The default value is `99`.
-- @field MAX (number)
-- Maximum number of files to list. The default value is `1000`.
module('_M.textadept.snapopen')]]
@@ -46,7 +46,7 @@ M.FILTER = {
},
folders = { '%.bzr$', '%.git$', '%.hg$', '%.svn$', 'CVS$' }
}
-M.DEFAULT_DEPTH = 4
+M.DEFAULT_DEPTH = 99
M.MAX = 1000
local lfs_dir, lfs_attributes = lfs.dir, lfs.attributes