diff --git a/plugins/lsp/lsp-format.nix b/plugins/lsp/lsp-format.nix index aa64e07d..73cd4204 100644 --- a/plugins/lsp/lsp-format.nix +++ b/plugins/lsp/lsp-format.nix @@ -45,7 +45,7 @@ in }); description = "The setup option maps |filetypes| to format options."; example = { - gopls = { + go = { exclude = [ "gopls" ]; order = [ "gopls" diff --git a/tests/test-sources/plugins/lsp/lsp-format.nix b/tests/test-sources/plugins/lsp/lsp-format.nix index 3cf9ca77..84b55df7 100644 --- a/tests/test-sources/plugins/lsp/lsp-format.nix +++ b/tests/test-sources/plugins/lsp/lsp-format.nix @@ -21,7 +21,7 @@ enable = true; setup = { - gopls = { + go = { exclude = [ "gopls" ]; order = [ "gopls"