Skip to content

Commit

Permalink
chore: Auto generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored and github-actions[bot] committed Apr 7, 2024
1 parent 32359b9 commit 6597cda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/various-textobjs.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*various-textobjs.txt* For NVIM v0.8.0 Last change: 2024 March 11
*various-textobjs.txt* For NVIM v0.8.0 Last change: 2024 April 07

==============================================================================
Table of Contents *various-textobjs-table-of-contents*
Expand Down Expand Up @@ -585,7 +585,7 @@ used by this plugin is exposed for this purpose.)
require("various-textobjs").url()
local foundURL = vim.fn.mode():find("v")
if foundURL then
u.normal('"zy')
vim.cmd.normal('"zy')
local url = vim.fn.getreg("z")
openURL(url)
else
Expand All @@ -601,7 +601,7 @@ used by this plugin is exposed for this purpose.)
-- select one, use a plugin like dressing.nvim for nicer UI for
-- `vim.ui.select`
vim.ui.select(urls, { prompt = "Select URL:" }, function(choice)
if choice then openURL(url) end
if choice then openURL(choice) end
end)
end
end, { desc = "URL Opener" })
Expand Down

0 comments on commit 6597cda

Please sign in to comment.