diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2024-06-26 14:59:46 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2024-09-16 11:58:02 +0200 |
commit | 3f15e57b2614c7849c5bbc1f32c7bd90f2a917b6 (patch) | |
tree | a40d9c13deb583b85ddbc177bf29a1364b470836 /test/functional/lua/ui_spec.lua | |
parent | a9031cc4a649f6ad5ef3db29a9bf52468332bcde (diff) | |
download | rneovim-3f15e57b2614c7849c5bbc1f32c7bd90f2a917b6.tar.gz rneovim-3f15e57b2614c7849c5bbc1f32c7bd90f2a917b6.tar.bz2 rneovim-3f15e57b2614c7849c5bbc1f32c7bd90f2a917b6.zip |
feat(vim.ui): configurable "gx" / vim.ui.open() tool
Problem:
User cannot configure the tool used by `vim.ui.open` (or `gx`). With
netrw this was supported by `g:netrw_browsex_viewer`.
Solution:
Introduce `opts.cmd`. Users that want to set this globally can
monkey-patch `vim.ui.open` in the same way described at `:help vim.paste()`.
Fixes https://github.com/neovim/neovim/issues/29488
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'test/functional/lua/ui_spec.lua')
0 files changed, 0 insertions, 0 deletions