From 2b2f7f954a8ca24acde44e4e4497b27775ed83b9 Mon Sep 17 00:00:00 2001 From: HumanEntity Date: Sun, 24 Dec 2023 23:07:17 +0100 Subject: Added some docs --- lua/denote/config.lua | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'lua/denote/config.lua') 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/", }, } -- cgit v1.2.3