update
This commit is contained in:
parent
2ace3d3726
commit
fad15fe78d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue