add html! highlighter
This commit is contained in:
		
							parent
							
								
									045694d87d
								
							
						
					
					
						commit
						1a6a76f5ba
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -58,6 +58,12 @@ hook global BufCreate .*\.(tera|askama)\.?.* %[
 | 
			
		|||
    add-highlighter buffer/jinja ref jinja
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
hook global WinSetOption filetype=rust %[
 | 
			
		||||
  require-module rust
 | 
			
		||||
  require-module html
 | 
			
		||||
  add-highlighter shared/rust/html region -recurse '\{' 'html!\s*\{\K' '(?=\})' ref html
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
hook global WinSetOption filetype=sql %[
 | 
			
		||||
    set buffer comment_line '--'
 | 
			
		||||
]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue