diff --git a/doc/dpp.txt b/doc/dpp.txt index 226f376..3c566e6 100644 --- a/doc/dpp.txt +++ b/doc/dpp.txt @@ -154,7 +154,8 @@ dpp#get([{plugin-name}]) *dpp#make_state()* dpp#make_state({base-path}, {config-path}[, {name}]) - Save dpp's state in the cache script. + Save dpp's state and generate startup script from + {config-path}. {base-path} is where your downloaded plugins will be placed. {config-path} is TypeScript configuration file path to make state. It must be full path. @@ -181,15 +182,16 @@ dpp#make_state({base-path}, {config-path}[, {name}]) *dpp#min#load_state()* dpp#min#load_state({base-path}[, {name}]) - Load dpp's state from the cache script, {base-path} is where - your downloaded plugins will be placed. + Load dpp's state and execute startup script generated by + |dpp#make_state()|, {base-path} is where your downloaded + plugins will be placed. {name} is plugins profile name. The default is "vim" or "nvim". NOTE: It overwrites your 'runtimepath' completely, you must not call it after change 'runtimepath' dynamically. NOTE: The block is skipped if dpp's state is loaded. - It returns 1, if the cache script is old or invalid or not + It returns 1, if the startup script is old or invalid or not found. *dpp#source()* dpp#source([{name}])