Title: Make it possible to also use SQL "magic comments" to signify SQL template literals by vais · Pull Request #4 · statico/vim-javascript-sql · GitHub
Open Graph Title: Make it possible to also use SQL "magic comments" to signify SQL template literals by vais · Pull Request #4 · statico/vim-javascript-sql
X Title: Make it possible to also use SQL "magic comments" to signify SQL template literals by vais · Pull Request #4 · statico/vim-javascript-sql
Description: Thank you for sharing this plugin! I've been using it (together with https://github.com/un-ts/prettier/tree/master/packages/sql and https://github.com/Sec-ant/prettier-plugin-embed) on a codebase that uses "magic comments" to signal that the string literal that follows is SQL. E.g: const query = /* sql */ ` select * from ... `; So, I had to adapt your plugin to recognize this pattern of using block comments in addition to using tags. Both continue to work with my modifications in case-insensitive manner - e.g. sql, SQL, Sql, etc all work for both block comments and tags. I also removed hi def link sqlTemplateString jsTemplateString - SQL syntax highlighting looks better without it (I understand this is subjective, but maybe give it a try). Once again, thank you for making this plugin - it made my SQL more colorful, and my day a little brighter.
Open Graph Description: Thank you for sharing this plugin! I've been using it (together with https://github.com/un-ts/prettier/tree/master/packages/sql and https://github.com/Sec-ant/prettier-plugin-embed) on a codeba...
X Description: Thank you for sharing this plugin! I've been using it (together with https://github.com/un-ts/prettier/tree/master/packages/sql and https://github.com/Sec-ant/prettier-plugin-embed) on a co...
Opengraph URL: https://github.com/statico/vim-javascript-sql/pull/4
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2204ffaf-a0e2-22f3-262a-c7daab2e0fc2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E248:5BFFA:45675C:5D6850:6A4D3100 |
| html-safe-nonce | dbcc891894768ad6346a916c773737e9753dcb9035409e8154c9225f42859209 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjQ4OjVCRkZBOjQ1Njc1Qzo1RDY4NTA6NkE0RDMxMDAiLCJ2aXNpdG9yX2lkIjoiMTEyMzE0NjQzNTE1NzM3MzE4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 706dc2a482f94cfd9d4f79ae138aa948b2484445aa618b9c1001e3854f350bfb |
| hovercard-subject-tag | pull_request:2562421854 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/statico/vim-javascript-sql/pull/4/files |
| twitter:image | https://avatars.githubusercontent.com/u/77592?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/77592?s=400&v=4 |
| og:image:alt | Thank you for sharing this plugin! I've been using it (together with https://github.com/un-ts/prettier/tree/master/packages/sql and https://github.com/Sec-ant/prettier-plugin-embed) on a codeba... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/statico/vim-javascript-sql git https://github.com/statico/vim-javascript-sql.git |
| octolytics-dimension-user_id | 137158 |
| octolytics-dimension-user_login | statico |
| octolytics-dimension-repository_id | 110784282 |
| octolytics-dimension-repository_nwo | statico/vim-javascript-sql |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 110784282 |
| octolytics-dimension-repository_network_root_nwo | statico/vim-javascript-sql |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 56fc8347865a14e2ec811533d68f929cf4e0ec19 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width