From 1f280b582f32c8ab7de41a34472fb856d5d2f7c4 Mon Sep 17 00:00:00 2001 From: shadmansaleh Date: Sat, 12 Jun 2021 12:10:05 +0600 Subject: fixup(runtime): Fix lua runtime files not listed lua runtime files weren't listed in :scriptname & profiler. This fixes that. * Add tests * Small doc tweeks --- runtime/doc/autocmd.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime') diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index bf94383ec4..9ee1954514 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -831,16 +831,16 @@ ShellFilterPost After executing a shell command with ":{range}!cmd", ":w !cmd" or ":r !cmd". Can be used to check for any changed files. *SourcePre* -SourcePre Before sourcing a Vim script. |:source| +SourcePre Before sourcing a vim/lua file. |:source| is the name of the file being sourced. *SourcePost* -SourcePost After sourcing a Vim script. |:source| +SourcePost After sourcing a vim/lua file. |:source| is the name of the file being sourced. Not triggered when sourcing was interrupted. Also triggered after a SourceCmd autocommand was triggered. *SourceCmd* -SourceCmd When sourcing a Vim script. |:source| +SourceCmd When sourcing a vim/lua file. |:source| is the name of the file being sourced. The autocommand must source this file. |Cmd-event| -- cgit