Title: Add highlight group for parentheses by tyok · Pull Request #396 · vim-ruby/vim-ruby · GitHub
Open Graph Title: Add highlight group for parentheses by tyok · Pull Request #396 · vim-ruby/vim-ruby
X Title: Add highlight group for parentheses by tyok · Pull Request #396 · vim-ruby/vim-ruby
Description: Hi, I tried adding a highlight group for parentheses and so far it's been working. I have to remove a line because methods with only keyword arguments didn't behave properly: User.where("name = :name", name: "John") # The parens gets highlighted as expected User.new(name: "John") # The parens didn't get highlighted User.new( name: "John") # Strangely, this works fine I tried to find out if the removed line will break anything, but nothing so far. I think it was supposed to prevent highlighting some symbol name as keyword (0e58499), but I have checked that it's still working without that line. I probably should mention that I don't understand what the regex means. Please tell me if there's a better way. Thanks for your time.
Open Graph Description: Hi, I tried adding a highlight group for parentheses and so far it's been working. I have to remove a line because methods with only keyword arguments didn't behave properly: User.where(&qu...
X Description: Hi, I tried adding a highlight group for parentheses and so far it's been working. I have to remove a line because methods with only keyword arguments didn't behave properly: User.w...
Opengraph URL: https://github.com/vim-ruby/vim-ruby/pull/396
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fe61b072-fa96-53b2-bdfa-0ae8fd9e42f2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8DEC:338AF6:7A60F0B:A011887:696DBC12 |
| html-safe-nonce | 7e20b4780b9cb480ecc360219e65bf60d5be8a7764d0c1a66388ee289ff3ba39 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REVDOjMzOEFGNjo3QTYwRjBCOkEwMTE4ODc6Njk2REJDMTIiLCJ2aXNpdG9yX2lkIjoiNjEwMDkwMTQwNjc5MDQ5OTM0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 04ba855fdd6bca1c3b0c2fe9aee8009ffb2380110bf8bc7041b95d937d82aaa8 |
| hovercard-subject-tag | pull_request:263674969 |
| 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/vim-ruby/vim-ruby/pull/396/files |
| twitter:image | https://avatars.githubusercontent.com/u/89855?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/89855?s=400&v=4 |
| og:image:alt | Hi, I tried adding a highlight group for parentheses and so far it's been working. I have to remove a line because methods with only keyword arguments didn't behave properly: User.where(&qu... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/vim-ruby/vim-ruby git https://github.com/vim-ruby/vim-ruby.git |
| octolytics-dimension-user_id | 17170 |
| octolytics-dimension-user_login | vim-ruby |
| octolytics-dimension-repository_id | 34465 |
| octolytics-dimension-repository_nwo | vim-ruby/vim-ruby |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 34465 |
| octolytics-dimension-repository_network_root_nwo | vim-ruby/vim-ruby |
| 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 | 7e5ae23c70136152637ceee8d6faceb35596ec46 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width