aboutsummaryrefslogtreecommitdiff
path: root/lua/denote/init.lua
blob: 5e044181cd16ae3a2661773844628ed5d772a60c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
local M = {}

local cmd = require("denote.cmd")
local config = require("denote.config")

---@param options? table user configuration
function M.setup(options)
  config.options = vim.tbl_deep_extend("force", config.defaults, options or {})
  cmd.load_cmd(config.options)
end

return M