Skip to content

Commit

Permalink
Add Dpp:postMakeState
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Oct 12, 2023
1 parent e8a8a1f commit 804ea21
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions autoload/dpp/min.vim
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ function dpp#min#_init() abort
autocmd!
autocmd BufWritePost *.lua,*.vim,*.toml,vimrc,.vimrc
\ call dpp#util#_check_files()
autocmd User Dpp:postMakeState :
augroup END
endfunction
2 changes: 2 additions & 0 deletions denops/dpp/dpp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ export class Dpp {
//console.log(stateLines);
//console.log(cacheLines);
//console.log(rtps);

await denops.cmd("doautocmd <nomodeline> User Dpp:postMakeState");
}

private async getExt(
Expand Down
11 changes: 11 additions & 0 deletions doc/dpp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Exts |dpp-exts|
Protocols |dpp-protocols|
Protocol option |dpp-protocol-options|
Protocol params |dpp-protocol-params|
Autocmds |dpp-autocmds|
Create Ext |dpp-create-ext|
Ext attributes |dpp-ext-attributes|
Create Protocol |dpp-create-protocol|
Expand Down Expand Up @@ -582,6 +583,16 @@ These are the parameters that each Protocol can have. Please read the
Protocol documentation.


==============================================================================
AUTOCMDS *dpp-autocmds*

dpp.vim defines some |User| autocmds.

*dpp-autocmd-Dpp:postMakeState*
Dpp:postMakeState
Called after |dpp#make_state()| is finished.


==============================================================================
CREATE EXT *dpp-create-ext*

Expand Down

0 comments on commit 804ea21

Please sign in to comment.