Feat: Support for absolute or relative path config

This commit is contained in:
lambtho12
2022-01-20 20:57:12 +01:00
parent 6bb9b72ed4
commit ea03546662
3 changed files with 37 additions and 14 deletions

View File

@@ -225,12 +225,13 @@ require('telekasten').setup({
-- and thus the telekasten syntax will not be loaded either
auto_set_filetype = true,
-- dir names for special notes (absolute path or subdir name)
dailies = home .. '/' .. 'daily',
weeklies = home .. '/' .. 'weekly',
templates = home .. '/' .. 'templates',
-- image subdir for pasting
-- subdir name
-- image (sub)dir for pasting
-- dir name (absolute path or subdir name)
-- or nil if pasted images shouldn't go into a special subdir
image_subdir = "img",