add search count and macro
This commit is contained in:
		
							parent
							
								
									c84befc29d
								
							
						
					
					
						commit
						8393fc12ae
					
				@ -196,6 +196,24 @@ function M.config()
 | 
				
			|||||||
				style = 'bold',
 | 
									style = 'bold',
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
 | 
							search_count = {
 | 
				
			||||||
 | 
								provider = 'search_count',
 | 
				
			||||||
 | 
								hl = {
 | 
				
			||||||
 | 
									style = 'bold',
 | 
				
			||||||
 | 
									bg = 'darkblue',
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
								left_sep = 'block',
 | 
				
			||||||
 | 
								right_sep = 'block',
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
 | 
							macro = {
 | 
				
			||||||
 | 
								provider = 'macro',
 | 
				
			||||||
 | 
								hl = {
 | 
				
			||||||
 | 
									style = 'bold',
 | 
				
			||||||
 | 
									bg = 'darkblue',
 | 
				
			||||||
 | 
								},
 | 
				
			||||||
 | 
								left_sep = 'block',
 | 
				
			||||||
 | 
								right_sep = 'block',
 | 
				
			||||||
 | 
							},
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	local left = {
 | 
						local left = {
 | 
				
			||||||
@ -219,6 +237,8 @@ function M.config()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	local right = {
 | 
						local right = {
 | 
				
			||||||
		c.file_type,
 | 
							c.file_type,
 | 
				
			||||||
 | 
							c.search_count,
 | 
				
			||||||
 | 
							c.macro,
 | 
				
			||||||
		c.file_encoding,
 | 
							c.file_encoding,
 | 
				
			||||||
		c.position,
 | 
							c.position,
 | 
				
			||||||
		c.line_percentage,
 | 
							c.line_percentage,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user