init
This commit is contained in:
commit
bcf67d08d7
|
@ -0,0 +1,12 @@
|
||||||
|
local M = {}
|
||||||
|
local api = vim.api
|
||||||
|
local buf, win
|
||||||
|
|
||||||
|
-- Only for debugging
|
||||||
|
if vim == nil then
|
||||||
|
vim = {}
|
||||||
|
end
|
||||||
|
|
||||||
|
function Macrochain()
|
||||||
|
vim.print("Hello World!")
|
||||||
|
end
|
|
@ -0,0 +1,12 @@
|
||||||
|
" Title: macrotool
|
||||||
|
" Description: Manage macros, save them afterward.
|
||||||
|
" Maintainer: Yannick Reiss <yannick.reiss@nickr.eu>
|
||||||
|
|
||||||
|
" Avoid loading the plugin multiple times
|
||||||
|
if exists("g:loaded_macrotool")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let g:loaded_macrotool = 1
|
||||||
|
|
||||||
|
" Exposes the plugin's functions for use as commands in Neovim.
|
||||||
|
command! -nargs=0 Macrochain lua require("macrotool").Macrochain()
|
Loading…
Reference in New Issue