diff --git a/handlers/sshd_config/analyzer/analyzer.go b/handlers/sshd_config/analyzer/analyzer.go index 73ab878..2d75767 100644 --- a/handlers/sshd_config/analyzer/analyzer.go +++ b/handlers/sshd_config/analyzer/analyzer.go @@ -56,4 +56,3 @@ func Analyze( return nil } - diff --git a/handlers/sshd_config/analyzer/match_test.go b/handlers/sshd_config/analyzer/match_test.go index 3ccb5c7..ab45c1a 100644 --- a/handlers/sshd_config/analyzer/match_test.go +++ b/handlers/sshd_config/analyzer/match_test.go @@ -127,4 +127,3 @@ Match User t.Errorf("Expected 1 error, got %v", len(errors)) } } - diff --git a/handlers/sshd_config/fields/options.go b/handlers/sshd_config/fields/options.go index f3a2ee8..2fb57b8 100644 --- a/handlers/sshd_config/fields/options.go +++ b/handlers/sshd_config/fields/options.go @@ -9,4 +9,3 @@ var AllowedDuplicateOptions = map[string]struct{}{ "Match": {}, "Port": {}, } - diff --git a/root-handler/lsp-utils.go b/root-handler/lsp-utils.go index f2e22e5..5cf161a 100644 --- a/root-handler/lsp-utils.go +++ b/root-handler/lsp-utils.go @@ -57,10 +57,10 @@ var valueToLanguageMap = map[string]SupportedLanguage{ "sshd_config": LanguageSSHDConfig, "sshdconfig": LanguageSSHDConfig, - "ssh_config": LanguageSSHConfig, - "sshconfig": LanguageSSHConfig, + "ssh_config": LanguageSSHConfig, + "sshconfig": LanguageSSHConfig, - ".ssh/config": LanguageSSHConfig, + ".ssh/config": LanguageSSHConfig, "~/.ssh/config": LanguageSSHConfig, "fstab": LanguageFstab, diff --git a/root-handler/text-document-did-change.go b/root-handler/text-document-did-change.go index caaab6d..27c79e9 100644 --- a/root-handler/text-document-did-change.go +++ b/root-handler/text-document-did-change.go @@ -4,8 +4,8 @@ import ( aliases "config-lsp/handlers/aliases/lsp" fstab "config-lsp/handlers/fstab/lsp" hosts "config-lsp/handlers/hosts/lsp" - sshdconfig "config-lsp/handlers/sshd_config/lsp" sshconfig "config-lsp/handlers/ssh_config/lsp" + sshdconfig "config-lsp/handlers/sshd_config/lsp" wireguard "config-lsp/handlers/wireguard/lsp" "github.com/tliron/glsp"