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 135c71d commit 9ebbafaCopy full SHA for 9ebbafa
lua/sshfs/core/config.lua
@@ -18,6 +18,9 @@ function M.parse_hosts_from_configs(ssh_configs)
18
hosts[host_name] = { ["Config"] = path, ["Name"] = host_name }
19
end
20
21
+ elseif line:match("^%s*Match%s+") then
22
+ -- Match directive ends the current host block
23
+ current_hosts = {}
24
else
25
if #current_hosts > 0 then
26
local key, value = line:match("^%s*(%S+)%s+(.+)$")
0 commit comments