mirror of
				https://github.com/amix/vimrc
				synced 2025-10-31 06:33:35 +08:00 
			
		
		
		
	Updated plugins
This commit is contained in:
		| @ -1 +1,11 @@ | ||||
| if !exists("g:mako_detect_lang_from_ext") | ||||
|   let g:mako_detect_lang_from_ext = 1 | ||||
| endif | ||||
| if g:mako_detect_lang_from_ext | ||||
|   au BufNewFile *.*.mako   execute "do BufNewFile filetypedetect " . expand("<afile>:r") | let b:mako_outer_lang = &filetype | ||||
|   " it's important to get this before any of the normal BufRead autocmds execute | ||||
|   " for this file, otherwise a mako tag at the start of the file can cause the | ||||
|   " filetype to be set to mason | ||||
|   au BufReadPre *.*.mako   execute "do BufRead filetypedetect " . expand("<afile>:r") | let b:mako_outer_lang = &filetype | ||||
| endif | ||||
| au BufRead,BufNewFile *.mako     set filetype=mako | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 amix
					amix