Skip to content

Commit

Permalink
fix(yamlls): add missing schemastore url (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
qvalentin authored Mar 10, 2024
1 parent 3a39e19 commit 3fa321e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/util/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ var DefaultConfig = HelmlsConfiguration{
}

type YamllsSchemaStoreSettings struct {
Enable bool `json:"enable"`
Enable bool `json:"enable"`
Url string `json:"url"`

Check failure on line 45 in internal/util/config.go

View workflow job for this annotation

GitHub Actions / lint (1.21.5, ubuntu-latest)

var-naming: struct field Url should be URL (revive)
}

type YamllsSettings struct {
Expand All @@ -57,5 +58,6 @@ var DefaultYamllsSettings = YamllsSettings{
Hover: true,
YamllsSchemaStoreSettings: YamllsSchemaStoreSettings{
Enable: true,
Url: "https://www.schemastore.org/api/json/catalog.json",
},
}

0 comments on commit 3fa321e

Please sign in to comment.