Skip to content

Commit

Permalink
chore: auto-generate vimdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored and github-actions[bot] committed Dec 4, 2024
1 parent eaa2eba commit b7e86ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/nvim-various-textobjs.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*nvim-various-textobjs.txt* For Neovim Last change: 2024 December 03
*nvim-various-textobjs.txt* For Neovim Last change: 2024 December 04

==============================================================================
Table of Contents *nvim-various-textobjs-table-of-contents*
Expand Down Expand Up @@ -381,7 +381,7 @@ used by this plugin is exposed for this purpose.)
end

-- find all URLs in buffer
local urlPattern = require("various-textobjs.charwise-textobjs").urlPattern
local urlPattern = "%l%l%l-://%S+"
local bufText = table.concat(vim.api.nvim_buf_get_lines(0, 0, -1, false), "\n")
local urls = {}
for url in bufText:gmatch(urlPattern) do
Expand Down

0 comments on commit b7e86ba

Please sign in to comment.