update
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
local M = {}
|
local M = {}
|
||||||
|
|
||||||
function M.lookup()
|
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
|
local url = "https://dl.acm.org/action/doSearch?AllField=" .. keywords
|
||||||
|
|
||||||
-- Setup a http socket and request
|
-- Setup a http socket and request
|
||||||
|
|||||||
Reference in New Issue
Block a user