aboutsummaryrefslogtreecommitdiff
path: root/lua/denote/config.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/denote/config.lua')
-rw-r--r--lua/denote/config.lua30
1 files changed, 7 insertions, 23 deletions
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