We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24790de commit b7fd1b9Copy full SHA for b7fd1b9
vimdoc/module.py
@@ -324,6 +324,11 @@ def Modules(directory):
324
standalone_paths = []
325
autoloaddir = os.path.join(directory, 'autoload')
326
for (root, dirs, files) in os.walk(directory):
327
+ # Visit files in a stable order, since the ordering of e.g. the Maktaba
328
+ # flags below depends upon the order that we visit the files.
329
+ dirs.sort()
330
+ files.sort()
331
+
332
# Prune non-standard top-level dirs like 'test'.
333
if root == directory:
334
dirs[:] = [x for x in dirs if x in DOC_SUBDIRS + ['after']]
0 commit comments