mirror of
				https://github.com/mhinz/vim-galore.git
				synced 2025-11-04 11:55:35 +08:00 
			
		
		
		
	Autocmds: executed in the order they were defined
This commit is contained in:
		@@ -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
 | 
			
		||||
```
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user