From b7e86bab6dc27451c5c7d7b38e769e7bbbdf35e6 Mon Sep 17 00:00:00 2001 From: chrisgrieser Date: Wed, 4 Dec 2024 18:47:29 +0000 Subject: [PATCH] chore: auto-generate vimdocs --- doc/nvim-various-textobjs.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/nvim-various-textobjs.txt b/doc/nvim-various-textobjs.txt index 8010f02..72e5b8d 100644 --- a/doc/nvim-various-textobjs.txt +++ b/doc/nvim-various-textobjs.txt @@ -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* @@ -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