vim9script augroup vimrc-events autocmd! autocmd User search_start ++once : autocmd User clear_search_highlight ++once : autocmd User insert_mode_plugin_loaded ++once : autocmd User after_lsp_buffer_enabled ++once : augroup END export def NotifySearchStart(): void doautocmd User search_start enddef export def NotifyClearSearchHighlight(): void doautocmd User clear_search_highlight enddef export def NotifyInsertModePluginLoaded(): void doautocmd User insert_mode_plugin_loaded enddef export def NotifyAfterLspBufferEnabled(): void doautocmd User after_lsp_buffer_enabled enddef