diff options
Diffstat (limited to 'lua/denote/config.lua')
| -rw-r--r-- | lua/denote/config.lua | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/lua/denote/config.lua b/lua/denote/config.lua index f6ec007..fce9a50 100644 --- a/lua/denote/config.lua +++ b/lua/denote/config.lua @@ -1,12 +1,26 @@ +---@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 "=" + +---@class DenoteConfigVault +---@field dir string defaults to "~/.denote/" + +---@class DenoteConfig +---@field filename DenoteConfigFilename +---@field vault DenoteConfigVault + +---@type DenoteConfig local M = { - config = { - filename = { - ext = "norg", - date_sep = "_", - name_sep = "-", - tag_sep = "=", - }, - vault_dir = "~/.denote/", + filename = { + ext = "norg", + date_sep = "_", + name_sep = "-", + tag_sep = "=", + }, + vault = { + dir = "~/.denote/", }, } |
