Initial commit
This commit is contained in:
parent
f7aa2cbdc0
commit
9177e5af3b
25
lua/SpecSwitcher/init.lua
Normal file
25
lua/SpecSwitcher/init.lua
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
local M = {}
|
||||
|
||||
local Config = {
|
||||
test = "hallo"
|
||||
}
|
||||
|
||||
function open(filename)
|
||||
vim.cmd("e " .. filename)
|
||||
end
|
||||
|
||||
function M.setup(opts)
|
||||
opts = opts or {}
|
||||
|
||||
for k,v in pairs(opts) do
|
||||
Config[k] = v
|
||||
end
|
||||
|
||||
local mapping = require("ExtensionMap"):new()
|
||||
|
||||
mapping:add("c", {"h", "H", "hh", "HH"})
|
||||
|
||||
mapping:print()
|
||||
end
|
||||
|
||||
return M
|
||||
Loading…
Reference in New Issue
Block a user