chore: initial project setup
This commit is contained in:
commit
56bf4b7d11
10 files changed
+84
No files matched your search
@@ -0,0 +1,15 @@
|
||||
local M = {}
|
||||
|
||||
M.config = {
|
||||
greeting = "Hello from my plugin"
|
||||
}
|
||||
|
||||
function M.setup(opts)
|
||||
M.config = vim.tbl_deep_extend("force", M.config, opts or {})
|
||||
end
|
||||
|
||||
function M.say_hello()
|
||||
print(M.config.greeting)
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in new issue
Block a user