Title: Suggestion: Add separate syntax group for async etc. · Issue #78 · vim-python/python-syntax · GitHub
Open Graph Title: Suggestion: Add separate syntax group for async etc. · Issue #78 · vim-python/python-syntax
X Title: Suggestion: Add separate syntax group for async etc. · Issue #78 · vim-python/python-syntax
Description: First of all, thanks for this awesome project. Really spiced up my Python files! I was wondering if there are any plans to have separate syntax groups for async and friends? Something like: syn match pythonAsyncStatement '\<\zsasync\ze\s...
Open Graph Description: First of all, thanks for this awesome project. Really spiced up my Python files! I was wondering if there are any plans to have separate syntax groups for async and friends? Something like: syn mat...
X Description: First of all, thanks for this awesome project. Really spiced up my Python files! I was wondering if there are any plans to have separate syntax groups for async and friends? Something like: syn mat...
Opengraph URL: https://github.com/vim-python/python-syntax/issues/78
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suggestion: Add separate syntax group for async etc.","articleBody":"First of all, thanks for this awesome project. Really spiced up my Python files!\r\n\r\nI was wondering if there are any plans to have separate syntax groups for `async` and friends? Something like:\r\n\r\n```vim\r\nsyn match pythonAsyncStatement '\\\u003c\\zsasync\\ze\\s\\+def\\\u003e' nextgroup=pythonFunction skipwhite\r\nsyn match pythonAsyncStatement '\\\u003c\\zsasync\\ze\\s\\+with\\\u003e'\r\nsyn match pythonAsyncStatement '\\\u003c\\zsasync\\ze\\s\\+for\\\u003e'\r\n```\r\n\r\nThe benefit would be that colorschemes could bring extra attention to asynchronous statements if they wanted to. By default, \r\n`pythonAsyncStatement` could link to `pythonStatement` to achieve the current behaviour.\r\n\r\n**EDIT:** I would be happy to submit a pull request.","author":{"url":"https://github.com/MisanthropicBit","@type":"Person","name":"MisanthropicBit"},"datePublished":"2021-01-08T09:10:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/78/python-syntax/issues/78"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c2790b8c-57f2-07cb-a3c8-4397f3c96522 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D06C:1D86BC:11E2131:1784DF4:69718431 |
| html-safe-nonce | 07fe898e0b711ca9cbb9d89a241afcf0a824b98bfc0bfe9abb81e219e388dcf2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDZDOjFEODZCQzoxMUUyMTMxOjE3ODRERjQ6Njk3MTg0MzEiLCJ2aXNpdG9yX2lkIjoiMzQ0MzUwNDAyODYzNTQ2NDc1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7f8d5a0955a1019cc551822e0834d771de1e9faecb3bd9422bc839dff45d361e |
| hovercard-subject-tag | issue:781968036 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/vim-python/python-syntax/78/issue_layout |
| twitter:image | https://opengraph.githubassets.com/70ed4692ae21911463bc70453df5af60f6b992cb31748044df3b875399c5180e/vim-python/python-syntax/issues/78 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/70ed4692ae21911463bc70453df5af60f6b992cb31748044df3b875399c5180e/vim-python/python-syntax/issues/78 |
| og:image:alt | First of all, thanks for this awesome project. Really spiced up my Python files! I was wondering if there are any plans to have separate syntax groups for async and friends? Something like: syn mat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MisanthropicBit |
| hostname | github.com |
| expected-hostname | github.com |
| None | 83f241b6f7605f8428e9ff3118ca968f3a377f07904e088dfd9465a7c12cc367 |
| turbo-cache-control | no-preview |
| go-import | github.com/vim-python/python-syntax git https://github.com/vim-python/python-syntax.git |
| octolytics-dimension-user_id | 25825542 |
| octolytics-dimension-user_login | vim-python |
| octolytics-dimension-repository_id | 82203847 |
| octolytics-dimension-repository_nwo | vim-python/python-syntax |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82203847 |
| octolytics-dimension-repository_network_root_nwo | vim-python/python-syntax |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 742da896705f64f8f87756c8e5cc3175bdbeb85e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width