Skip to content

Commit

Permalink
Add dpp#recache_runtimepath()
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Sep 26, 2023
1 parent 71d60d7 commit 10752a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoload/dpp.vim
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ function dpp#make_state(base_path, config_path) abort

return dpp#denops#_notify('makeState', [base_path, config_path])
endfunction

function dpp#recache_runtimepath() abort
call dpp#util#_clear_state()
endfunction
5 changes: 5 additions & 0 deletions doc/dpp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ dpp#min#load_state({base-path})

It returns 1, if the cache script is old or invalid or not
found.
*dpp#recache_runtimepath()*
dpp#recache_runtimepath()
Re-make the dpp runtimepath cache and execute |:helptags|.
It is called automatically after the installation.

*dpp#source()*
dpp#source([{name}])
|:source| the plugins specified by {plugins}.
Expand Down

0 comments on commit 10752a6

Please sign in to comment.