diff --git a/handlers/ssh_config/handlers/completions.go b/handlers/ssh_config/handlers/completions.go index 342cb7b..8f74ca9 100644 --- a/handlers/ssh_config/handlers/completions.go +++ b/handlers/ssh_config/handlers/completions.go @@ -73,7 +73,7 @@ func GetOptionCompletions( return nil, nil } - if entry.Key.Key == "Match" { + if entry.Key.Key == matchOption { matchBlock := block.(*ast.SSHMatchBlock) return getMatchCompletions( d,