diff --git a/crates/zed/src/languages/gomod/config.toml b/crates/zed/src/languages/gomod/config.toml index 19c7b20e8c..b4755fae78 100644 --- a/crates/zed/src/languages/gomod/config.toml +++ b/crates/zed/src/languages/gomod/config.toml @@ -1,5 +1,5 @@ name = "Go Mod" -grammar = "go" +grammar = "gomod" path_suffixes = ["mod"] line_comments = ["//"] autoclose_before = ")" diff --git a/crates/zed/src/languages/gowork/config.toml b/crates/zed/src/languages/gowork/config.toml index 79621ecdaf..5a63dee2ee 100644 --- a/crates/zed/src/languages/gowork/config.toml +++ b/crates/zed/src/languages/gowork/config.toml @@ -1,5 +1,5 @@ name = "Go Work" -grammar = "go_work" +grammar = "gowork" path_suffixes = ["work"] line_comments = ["//"] autoclose_before = ")"