Skip to content

Commit

Permalink
add FormData
Browse files Browse the repository at this point in the history
  • Loading branch information
zekroTJA committed May 29, 2024
1 parent b4d9fd1 commit 21c2e47
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/artifacts.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -33,4 +33,4 @@ jobs:
with:
name: goatfile-${{ env.VERSION }}.vsix
path: ./goatfile-${{ env.VERSION }}.vsix
retention-day: 90
retention-day: 15
2 changes: 1 addition & 1 deletion syntaxes/goat.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
9 changes: 4 additions & 5 deletions syntaxes/goat.tmLanguage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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,}$"
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -118,7 +117,7 @@ repository:
end: "\\}\\}"
patterns:
- include: "#variable-path"

variable-path:
name: variable.parameter.goat
match: "[\\.\\-\\w]+"
Expand Down

0 comments on commit 21c2e47

Please sign in to comment.