-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logging: move nvim logs to XDG_CACHE_HOME #13739
Merged
Merged
+29
−19
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mjlbach
commented
Jan 12, 2021
mjlbach
changed the title
logging: move to XDG_CACHE_DIR
logging: move to XDG_CACHE_DIR/nvim/logs; add vim.fn.stdpath("log")
Jan 12, 2021
mjlbach
changed the title
logging: move to XDG_CACHE_DIR/nvim/logs; add vim.fn.stdpath("log")
logging: move nvim logs (including lsp) to XDG_CACHE_DIR/nvim/logs; add vim.fn.stdpath("log")
Jan 12, 2021
This comment has been minimized.
This comment has been minimized.
mjlbach
changed the title
logging: move nvim logs (including lsp) to XDG_CACHE_DIR/nvim/logs; add vim.fn.stdpath("log")
logging: move nvim logs (including lsp) to XDG_CACHE_DIR/nvim
Jan 12, 2021
mjlbach
changed the title
logging: move nvim logs (including lsp) to XDG_CACHE_DIR/nvim
logging: move nvim logs to XDG_CACHE_HOME
Jan 12, 2021
mjlbach
changed the title
logging: move nvim logs to XDG_CACHE_HOME
[RDY] logging: move nvim logs to XDG_CACHE_HOME
Jan 12, 2021
can you mention it on https://github.com/neovim/neovim/wiki/Following-HEAD please ? |
Done |
ckipp01
added a commit
to ckipp01/vlog.nvim
that referenced
this pull request
Jan 18, 2021
As a follow-up to the changes in neovim changing the default log location, I figured it'd be good for this to follow suit. neovim/neovim#13739
mikesart
pushed a commit
to mikesart/neovim
that referenced
this pull request
Mar 10, 2021
while there is some controversy, stdpath('cache') looks like a better fit for logs than stdpath('data'): you can remove logs without preventing nvim to work which fits the XDG_CACHE_HOME definition of `user specific non-essential data files`.
ckipp01
added a commit
to ckipp01/plenary.nvim
that referenced
this pull request
Apr 20, 2021
Following this in Neovim neovim/neovim#13739 it probably makes sense to follow suit. I know this may change location for some that are already using this, but it does seem logical to move this here since other log files are also being placed here.
tjdevries
pushed a commit
to nvim-lua/plenary.nvim
that referenced
this pull request
Apr 21, 2021
Following this in Neovim neovim/neovim#13739 it probably makes sense to follow suit. I know this may change location for some that are already using this, but it does seem logical to move this here since other log files are also being placed here.
justinmk
changed the title
[RDY] logging: move nvim logs to XDG_CACHE_HOME
logging: move nvim logs to XDG_CACHE_HOME
Jul 3, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #13706
cc @teto @clason