History

TOOLS/lua/autoload: fix specify loading only one type of files

dyphire committed 3 years ago

Commit df3a0fa1 parent da400ed1 file · +1 −1Browse files

Showing the changes to TOOLS/lua/autoload.lua (1 of 1 file). Show all

Unified · Split

TOOLS/lua/autoload.lua+1−1
@@ -184,7 +184,7 @@ function scan_dir(path, current_file, dir_mode, separator, dir_depth, total_file · 183 unmodified lines
184 if ext == nil then184 if ext == nil then
185 return false185 return false
186 end186 end
187 return EXTENSIONS[string.lower(ext)]187 return EXTENSIONS_TARGET[string.lower(ext)]
188 end)188 end)
189 table.filter(dirs, function(d)189 table.filter(dirs, function(d)
190 return not ((o.ignore_hidden and string.match(d, "^%.")))190 return not ((o.ignore_hidden and string.match(d, "^%.")))

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t