diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-09-06 14:32:07 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-09-06 14:32:07 +0200 |
commit | 84ec4eedcdd2892249b5369f91a6dd1d12fef2fc (patch) | |
tree | 6c9806851123656af2b71f6c6f5d89649442909c /syntax/yats/web-payment.vim | |
parent | 66b769328c4511b2273f01c70de971c41f6964dd (diff) | |
download | vim-polyglot-4.0.0.tar.gz vim-polyglot-4.0.0.zip |
Switch typescript provider, closes #428v4.0.0
Diffstat (limited to 'syntax/yats/web-payment.vim')
-rw-r--r-- | syntax/yats/web-payment.vim | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/syntax/yats/web-payment.vim b/syntax/yats/web-payment.vim new file mode 100644 index 00000000..fc0e4557 --- /dev/null +++ b/syntax/yats/web-payment.vim @@ -0,0 +1,37 @@ +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1 + finish +endif + +syntax keyword typescriptGlobal containedin=typescriptIdentifierName PaymentRequest +syntax keyword typescriptPaymentMethod contained show abort canMakePayment nextgroup=typescriptFuncCallArg +syntax cluster props add=typescriptPaymentMethod +if exists("did_typescript_hilink") | HiLink typescriptPaymentMethod Keyword +endif +syntax keyword typescriptPaymentProp contained shippingAddress shippingOption result +syntax cluster props add=typescriptPaymentProp +if exists("did_typescript_hilink") | HiLink typescriptPaymentProp Keyword +endif +syntax keyword typescriptPaymentEvent contained onshippingaddresschange onshippingoptionchange +if exists("did_typescript_hilink") | HiLink typescriptPaymentEvent Keyword +endif +syntax keyword typescriptPaymentResponseMethod contained complete nextgroup=typescriptFuncCallArg +syntax cluster props add=typescriptPaymentResponseMethod +if exists("did_typescript_hilink") | HiLink typescriptPaymentResponseMethod Keyword +endif +syntax keyword typescriptPaymentResponseProp contained details methodName payerEmail +syntax keyword typescriptPaymentResponseProp contained payerPhone shippingAddress +syntax keyword typescriptPaymentResponseProp contained shippingOption +syntax cluster props add=typescriptPaymentResponseProp +if exists("did_typescript_hilink") | HiLink typescriptPaymentResponseProp Keyword +endif +syntax keyword typescriptPaymentAddressProp contained addressLine careOf city country +syntax keyword typescriptPaymentAddressProp contained country dependentLocality languageCode +syntax keyword typescriptPaymentAddressProp contained organization phone postalCode +syntax keyword typescriptPaymentAddressProp contained recipient region sortingCode +syntax cluster props add=typescriptPaymentAddressProp +if exists("did_typescript_hilink") | HiLink typescriptPaymentAddressProp Keyword +endif +syntax keyword typescriptPaymentShippingOptionProp contained id label amount selected +syntax cluster props add=typescriptPaymentShippingOptionProp +if exists("did_typescript_hilink") | HiLink typescriptPaymentShippingOptionProp Keyword +endif |