Skip to content

Use XDG_STATE_HOME for logs #14805

@p00f

Description

@p00f

Currently XDG_CACHE_HOME is used for logs, however the latest version of the spec introduces XDG_STATE_HOME

The $XDG_STATE_HOME contains state data that should persist between (application) restarts, but that is not important or portable enough to the user that it should be stored in $XDG_DATA_HOME. It may contain:

  • actions history (logs, history, recently used files, …)

  • current state of the application that can be reused on a restart (view, layout, open files, undo history, …)

Will a PR implementing this (only) for logs be accepted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    defaultsNvim defaults for options, colorscheme/theme, autocmds/events, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions