Skip to content

feat: Add :NvrhDetach command - #85

Merged
mikew merged 2 commits into
mainfrom
new-branch-1775933768
Apr 11, 2026
Merged

feat: Add :NvrhDetach command#85
mikew merged 2 commits into
mainfrom
new-branch-1775933768

Conversation

@mikew

@mikew mikew commented Apr 11, 2026

Copy link
Copy Markdown
Owner

Calls detach while disabling nvrh's "quit when last client leaves" logic

Comment on lines -1 to -14
-- https://github.com/neovim/neovim/blob/c12701d4e1404a67fef6da01a8a9d7e2d48d78d6/runtime/lua/uv/_meta.lua#L4297-L4301
--- @class uv.os_uname.info
--- @field sysname string
--- @field release string
--- @field version string
--- @field machine string

-- https://github.com/neovim/neovim/blob/c12701d4e1404a67fef6da01a8a9d7e2d48d78d6/runtime/lua/uv/_meta.lua#L4367-L4372
--- @class uv.os_get_passwd.passwd
--- @field username string
--- @field uid integer?
--- @field gid integer?
--- @field shell string?
--- @field homedir string

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

finally defined upstream

---@type fun(filename: string, line?: number, col?: number): nil
_G.nvrh_open_file_handler = nil

should_initialize = false

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Was removed in #76

@mikew
mikew merged commit 4011e96 into main Apr 11, 2026
6 checks passed
@mikew
mikew deleted the new-branch-1775933768 branch April 11, 2026 21:51
mikew pushed a commit that referenced this pull request Apr 21, 2026
🤖 I have created a release *beep* *boop*
---


## [0.9.0](v0.8.0...v0.9.0)
(2026-04-21)


### Features

* Add `:NvrhDetach` command
([#85](#85))
([4011e96](4011e96))
* Add `client from-neovim` command
([#83](#83))
([ddc23ce](ddc23ce)),
closes [#82](#82)
* Add plugin with `:NvrhOpen` command
([#86](#86))
([f292de3](f292de3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

1 participant