return { "jakobkhansen/journal.nvim", config = function() require("journal").setup({ filetype = "md", -- Filetype to use for new journal entries root = "~/Notes/Journal", -- Root directory for journal entries date_format = "%Y%m%d", -- Date format for `:Journal ` autocomplete_date_modifier = "always", -- "always"|"never"|"end". Enable date modifier autocompletion -- Configuration for journal entries journal = { -- Default configuration for `:Journal ` format = "%Y%m%d", template = "# %A %B %d %Y\n", frequency = { day = 1 }, -- Nested configurations for `:Journal ... ` entries = { day = { format = "%Y%m%d", -- Format of the journal entry in the filesystem. template = "# %A %B %d %Y\n", -- Optional. Template used when creating a new journal entry frequency = { day = 1 }, -- Optional. The frequency of the journal entry. Used for `:Journal next`, `:Journal -2` etc }, }, }, }) end, }