diff options
| author | HumanEntity <human_entity@icloud.com> | 2023-12-24 23:07:17 +0100 |
|---|---|---|
| committer | HumanEntity <human_entity@icloud.com> | 2023-12-24 23:07:17 +0100 |
| commit | 2b2f7f954a8ca24acde44e4e4497b27775ed83b9 (patch) | |
| tree | 4779af880f7f9a90e300babe2367ab3f255449dd /lua/denote/config.lua | |
| parent | 03f4e3bf7ac2d0a63fd3bc75395534e1a0cf9c21 (diff) | |
| download | simple-denote.nvim-2b2f7f954a8ca24acde44e4e4497b27775ed83b9.tar.gz | |
Added some docs
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/", }, } |
