Skip to content

feat: Override vim.ui.open for http urls - #35

Merged
mikew merged 3 commits into
mainfrom
vim-ui-open
Jul 25, 2025
Merged

feat: Override vim.ui.open for http urls#35
mikew merged 3 commits into
mainfrom
vim-ui-open

Conversation

@mikew

@mikew mikew commented Jul 25, 2025

Copy link
Copy Markdown
Owner

Closes #34

@mikew
mikew requested a review from Copilot July 25, 2025 18:43

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR overrides vim.ui.open for HTTP URLs to enable handling of web links through a custom RPC mechanism. The change allows the client to intercept HTTP/HTTPS URLs and route them through a custom notification channel instead of using the default vim.ui.open behavior.

  • Removes extra nil parameters from existing ExecLua calls
  • Adds a new vim.ui.open override that intercepts HTTP/HTTPS URLs and sends them via RPC notification

Comment thread src/client/main.go
Comment thread src/client/main.go
@mikew
mikew merged commit 5649887 into main Jul 25, 2025
2 checks passed
@mikew
mikew deleted the vim-ui-open branch July 25, 2025 19:01
mikew added a commit that referenced this pull request Jul 26, 2025
…ts-scan

* 'main' of https://github.com/mikew/nvrh:
  [skip ci] Release v0.1.19
  feat: More env vars (#32)
  [skip ci] Release v0.1.18
  feat: Override vim.ui.open for http urls (#35)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Detect http:// / https:// with vim.ui.open

2 participants