From bde89bcfe9ceb6d312a02d3361fb817c304544f6 Mon Sep 17 00:00:00 2001 From: DefaultGen Date: Sat, 1 Jun 2024 22:35:39 -0400 Subject: Initial commit --- lua/denote/config.lua | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) (limited to 'lua/denote/config.lua') diff --git a/lua/denote/config.lua b/lua/denote/config.lua index fce9a50..fe0d6ee 100644 --- a/lua/denote/config.lua +++ b/lua/denote/config.lua @@ -1,27 +1,11 @@ ----@class DenoteConfigFilename ----@field ext string defaults to "norg" ----@field date_sep string defaults to "_" ----@field name_sep string defaults to "-" ----@field tag_sep string defaults to "=" +local M = {} ----@class DenoteConfigVault ----@field dir string defaults to "~/.denote/" - ----@class DenoteConfig ----@field filename DenoteConfigFilename ----@field vault DenoteConfigVault - ----@type DenoteConfig -local M = { - filename = { - ext = "norg", - date_sep = "_", - name_sep = "-", - tag_sep = "=", - }, - vault = { - dir = "~/.denote/", - }, +M.defaults = { + ext = "md", + dir = "~/notes/", + new_heading_on_retitle = true, } +M.options = M.defaults + return M -- cgit v1.2.3