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: patch-diff.githubusercontent.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:b0628705-59a5-9371-ed57-fba3b619b2ae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F3A:34F01F:186032C:21E083D:69778117 |
| html-safe-nonce | 89bad3dd5bf81104e9f1dc3d62498699dc01eb36f3426b5b79313258964bf196 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjNBOjM0RjAxRjoxODYwMzJDOjIxRTA4M0Q6Njk3NzgxMTciLCJ2aXNpdG9yX2lkIjoiNzEwODc2MTQ3MzMwNzM0NTE3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 970cdb8c7368be60a1b4a64c729ba2a614fd44183fd3a130f462d07b7d49d2ed |
| 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 | fd37f8e74ecc49b700617ea694fa6d7b395b6c9a4b79c59b3014da220462ac69 |
| 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 | 37dddf0637fe1f68f5c5d619bd3e03ec27105339 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width