mirror of
				https://github.com/mhinz/vim-galore.git
				synced 2025-11-01 02:16:01 +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 | for "Ruby" and you'll find that Vim simply uses the file extension `.rb` to | ||||||
| detect Ruby files: | 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 | ```viml | ||||||
| au BufNewFile,BufRead *.rb,*.rbw  setf ruby | au BufNewFile,BufRead *.rb,*.rbw  setf ruby | ||||||
| ``` | ``` | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user