diff options
| author | DefaultGen <gravel.justness270@slmail.me> | 2024-06-01 22:35:39 -0400 |
|---|---|---|
| committer | DefaultGen <gravel.justness270@slmail.me> | 2024-06-01 22:35:39 -0400 |
| commit | bde89bcfe9ceb6d312a02d3361fb817c304544f6 (patch) | |
| tree | 104d9e2b83130001e373206ba9378bf07a0c0b13 /lua/denote/config.lua | |
| parent | 22818fd95f438f83d32f6e1d482c6c2ef58772a0 (diff) | |
| download | simple-denote.nvim-bde89bcfe9ceb6d312a02d3361fb817c304544f6.tar.gz | |
Initial commit
Diffstat (limited to 'lua/denote/config.lua')
| -rw-r--r-- | lua/denote/config.lua | 30 |
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 |
