diff --git a/.github/workflows/artifacts.yaml b/.github/workflows/artifacts.yaml index d216256..b7303d3 100644 --- a/.github/workflows/artifacts.yaml +++ b/.github/workflows/artifacts.yaml @@ -1,11 +1,11 @@ name: Build Artifacts on: workflow_dispatch: - # push: - # branches: - # - "main" - # paths-ignore: - # - "**.md" + push: + branches: + - "main" + paths-ignore: + - "**.md" jobs: build_artifacts: @@ -33,4 +33,4 @@ jobs: with: name: goatfile-${{ env.VERSION }}.vsix path: ./goatfile-${{ env.VERSION }}.vsix - retention-day: 90 + retention-day: 15 diff --git a/syntaxes/goat.tmLanguage.json b/syntaxes/goat.tmLanguage.json index 67317d1..0c589b3 100644 --- a/syntaxes/goat.tmLanguage.json +++ b/syntaxes/goat.tmLanguage.json @@ -97,7 +97,7 @@ }, "block-kv": { "name": "entity.name.tag.goat", - "begin": "^\\s*\\[QueryParams|MultipartFormdata|Options|Auth\\]", + "begin": "^\\s*\\[QueryParams|MultipartFormdata|Options|Auth|FormData\\]", "end": "(^(?=---))|(^\\s*$)", "contentName": "support.unquoted.goat", "patterns": [ diff --git a/syntaxes/goat.tmLanguage.yaml b/syntaxes/goat.tmLanguage.yaml index 624ee7f..3d1b368 100644 --- a/syntaxes/goat.tmLanguage.yaml +++ b/syntaxes/goat.tmLanguage.yaml @@ -20,11 +20,10 @@ patterns: - include: "#directive-return" repository: - comment: name: comment.line.goat - match: '//.*$' - + match: "//.*$" + delimiter: name: keyword.other.request-separator.goat match: "^-{3,}$" @@ -56,7 +55,7 @@ repository: block-kv: name: entity.name.tag.goat - begin: "^\\s*\\[QueryParams|MultipartFormdata|Options|Auth\\]" + begin: "^\\s*\\[QueryParams|MultipartFormdata|Options|Auth|FormData\\]" end: "(^(?=---))|(^\\s*$)" contentName: "support.unquoted.goat" patterns: @@ -118,7 +117,7 @@ repository: end: "\\}\\}" patterns: - include: "#variable-path" - + variable-path: name: variable.parameter.goat match: "[\\.\\-\\w]+"