diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/dotfiles/notes.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/dotfiles/notes.lua b/lua/dotfiles/notes.lua new file mode 100644 index 0000000..cec362b --- /dev/null +++ b/lua/dotfiles/notes.lua @@ -0,0 +1,6 @@ +-- 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 |
