blob: a2ed047eafe5827f7c332a016de3d08bd3de538a (
plain)
1
2
3
4
5
6
7
8
9
|
--[[ Resolved notes directory (normalized), or nil when `$NOTES_DIR` is unset.
Single source of truth shared by the notes feature (plugin/50-notes.lua) and the follow engine
wiring (plugin/50-follow.lua).
]]
local M = {}
M.dir = vim.env.NOTES_DIR and vim.fs.normalize(vim.env.NOTES_DIR) or nil
return M
|