diff options
| author | HumanEntity <human_entity@icloud.com> | 2023-12-25 12:40:42 +0100 |
|---|---|---|
| committer | HumanEntity <human_entity@icloud.com> | 2023-12-25 12:40:42 +0100 |
| commit | 9fb27f9c4f8258662b5642d0768c60f4b870bca2 (patch) | |
| tree | 04deaf7484f351fcb1663f1a64c71dde72d81c3c /lua/denote/init.lua | |
| parent | 672d8efde6808e428827bfb21586bf769f8248ad (diff) | |
| download | simple-denote.nvim-9fb27f9c4f8258662b5642d0768c60f4b870bca2.tar.gz | |
Maybe fixed error with lazy.nvim
Diffstat (limited to 'lua/denote/init.lua')
| -rw-r--r-- | lua/denote/init.lua | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/lua/denote/init.lua b/lua/denote/init.lua index 5d7528b..c18300d 100644 --- a/lua/denote/init.lua +++ b/lua/denote/init.lua @@ -1,4 +1,13 @@ -local M = require("denote.api") -require("denote.cmd") +local M = {} +local api = require("denote.api") +local cmd = require("denote.cmd") + +---@param config DenoteConfig +function M.setup(config) + cmd.load_cmd() + if config then + internal.config = config + end +end return M |
