aboutsummaryrefslogtreecommitdiff
path: root/lua/denote/init.lua
diff options
context:
space:
mode:
authorHumanEntity <human_entity@icloud.com>2023-12-25 12:54:37 +0100
committerHumanEntity <human_entity@icloud.com>2023-12-25 12:54:37 +0100
commit4997cc9704883b7833372386b71ddc8bbb177a56 (patch)
treed746e294b74a0a2dbd8a4cfec6e66369b0c6810f /lua/denote/init.lua
parent9fb27f9c4f8258662b5642d0768c60f4b870bca2 (diff)
downloadsimple-denote.nvim-4997cc9704883b7833372386b71ddc8bbb177a56.tar.gz
Little restructurization and cmd update
Diffstat (limited to 'lua/denote/init.lua')
-rw-r--r--lua/denote/init.lua11
1 files changed, 6 insertions, 5 deletions
diff --git a/lua/denote/init.lua b/lua/denote/init.lua
index c18300d..396486f 100644
--- a/lua/denote/init.lua
+++ b/lua/denote/init.lua
@@ -1,12 +1,13 @@
-local M = {}
-local api = require("denote.api")
-local cmd = require("denote.cmd")
+local M = {
+ api = require("denote.api"),
+ cmd = require("denote.cmd"),
+}
---@param config DenoteConfig
function M.setup(config)
- cmd.load_cmd()
+ M.cmd.load_cmd()
if config then
- internal.config = config
+ M.config = config
end
end