From 43479f397415f02073c282253e92cfd516617ea8 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Wed, 13 Jan 2016 19:49:43 +0100 Subject: [PATCH] Autocmds: executed in the order they were defined --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 85a41fa..6d77d13 100644 --- a/README.md +++ b/README.md @@ -522,6 +522,9 @@ If you're brave enough, have a look at it: `:e $VIMRUNTIME/filetype.vim`. Search for "Ruby" and you'll find that Vim simply uses the file extension `.rb` to detect Ruby files: +**NOTE**: Autocmds of the same event are executed in the order they were +created. `:au` shows them in the correct order. + ```viml au BufNewFile,BufRead *.rb,*.rbw setf ruby ```