This commit is contained in:
Yannick Reiß 2024-02-18 12:40:37 +01:00
parent 2ace3d3726
commit fad15fe78d
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
local M = {}
function M.lookup()
local keywords = vim.fn.getreg("") -- receive highlighted text
local keywords = vim.fn.getreg("*") -- receive yanked text
local url = "https://dl.acm.org/action/doSearch?AllField=" .. keywords
-- Setup a http socket and request