Skip to content
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

Use g:dein#cache_directory and g:dein#runtime_directory #517

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

Freed-Wu
Copy link
Contributor

Description

g:dein#cache_directory is only used in dein#util#_get_cache_path()
g:dein#runtime_directory is only used in dein#util#_get_runtime_path()

Rename cache_{g:dein#progname} to cache{g:dein#_progname}.json
because it is really a json

Use dein#util#_get_cache_path() to store:

  • cache_{g:dein#_progname}.json
  • state_{g:dein#_progname}.vim
  • direct_install.vim
  • rollbacks/{g:dein#_progname}/

Use dein#util#_get_runtime_path() to store the merged vim files

Be default, it is dein#util#_get_cache_path() . '/.dein'
in order to keep same behavior

Remove dein#util#_cache_writefile() because it is not used again

g:dein#cache_directory is only used in dein#util#_get_cache_path()
g:dein#runtime_directory is only used in dein#util#_get_runtime_path()

Rename cache_{g:dein#_progname} to cache_{g:dein#_progname}.json
because it is really a json

Use dein#util#_get_cache_path() to store:

- cache_{g:dein#_progname}.json
- state_{g:dein#_progname}.vim
- direct_install.vim
- rollbacks/{g:dein#_progname}/

Use dein#util#_get_runtime_path() to store the merged vim files

Be default, it is dein#util#_get_cache_path() . '/.dein'
in order to keep same behavior

Remove dein#util#_cache_writefile() because it is not used again
@Shougo Shougo merged commit fc73035 into Shougo:master Nov 14, 2024
2 checks passed
@Shougo
Copy link
Owner

Shougo commented Nov 14, 2024

OK. merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants