init
This commit is contained in:
commit
c784a74fe3
|
@ -0,0 +1,9 @@
|
|||
local M = {}
|
||||
|
||||
function M.lookup()
|
||||
local keywords = vim.fn.getreg("")
|
||||
|
||||
print("Hallo Welt! " .. keywords)
|
||||
end
|
||||
|
||||
return M
|
|
@ -0,0 +1,14 @@
|
|||
" Title: ACM sourcer
|
||||
" Description: Search for a selected text block for results in the ACM
|
||||
" library
|
||||
" Last Change: Sun 18 Feb 2024 10:36:59 CET
|
||||
" Maintainer: Yannick Reiss <yannick.reiss@nickr.eu>
|
||||
|
||||
" Avoid loading the plugin multiple times
|
||||
if exists("g:loaded_sourcer")
|
||||
finish
|
||||
endif
|
||||
let g:loaded_sourcer = 1
|
||||
|
||||
" Exposes the plugin's functions for use as commands in Neovim.
|
||||
command! -nargs=0 Lookup lua require("sourcer").lookup()
|
Loading…
Reference in New Issue