mirror of
				https://github.com/zsh-users/zsh-syntax-highlighting.git
				synced 2025-10-30 15:56:28 +08:00 
			
		
		
		
	docs: Remove duplicate 'How to activate it' sections
This commit is contained in:
		
							parent
							
								
									2dd6923c30
								
							
						
					
					
						commit
						35e0b0ca69
					
				| @ -5,13 +5,6 @@ This is the `brackets` highlighter, that highlights brackets and parentheses, an | |||||||
| matches them. | matches them. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ### How to activate it |  | ||||||
| 
 |  | ||||||
| To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: |  | ||||||
| 
 |  | ||||||
|     ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] brackets) |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| ### How to tweak it | ### How to tweak it | ||||||
| 
 | 
 | ||||||
| This highlighter defines the following styles: | This highlighter defines the following styles: | ||||||
|  | |||||||
| @ -4,13 +4,6 @@ zsh-syntax-highlighting / highlighters / cursor | |||||||
| This is the `cursor` highlighter, that highlights the cursor. | This is the `cursor` highlighter, that highlights the cursor. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ### How to activate it |  | ||||||
| 
 |  | ||||||
| To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: |  | ||||||
| 
 |  | ||||||
|     ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] cursor) |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| ### How to tweak it | ### How to tweak it | ||||||
| 
 | 
 | ||||||
| This highlighter defines the following styles: | This highlighter defines the following styles: | ||||||
|  | |||||||
| @ -4,13 +4,6 @@ zsh-syntax-highlighting / highlighters / line | |||||||
| This is the `line` highlighter, that highlights the whole line. | This is the `line` highlighter, that highlights the whole line. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ### How to activate it |  | ||||||
| 
 |  | ||||||
| To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: |  | ||||||
| 
 |  | ||||||
|     ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] line) |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| ### How to tweak it | ### How to tweak it | ||||||
| 
 | 
 | ||||||
| This highlighter defines the following styles: | This highlighter defines the following styles: | ||||||
|  | |||||||
| @ -9,12 +9,6 @@ This is the `main` highlighter, that highlights: | |||||||
| * Paths | * Paths | ||||||
| * Strings | * Strings | ||||||
| 
 | 
 | ||||||
| ### How to activate it |  | ||||||
| 
 |  | ||||||
| To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: |  | ||||||
| 
 |  | ||||||
|     ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] main) |  | ||||||
| 
 |  | ||||||
| This highlighter is active by default. | This highlighter is active by default. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -4,13 +4,6 @@ zsh-syntax-highlighting / highlighters / pattern | |||||||
| This is the `pattern` highlighter, that highlights user defined patterns. | This is the `pattern` highlighter, that highlights user defined patterns. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ### How to activate it |  | ||||||
| 
 |  | ||||||
| To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: |  | ||||||
| 
 |  | ||||||
|     ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] pattern) |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| ### How to tweak it | ### How to tweak it | ||||||
| 
 | 
 | ||||||
| To use this highlighter, associate patterns with styles in the | To use this highlighter, associate patterns with styles in the | ||||||
|  | |||||||
| @ -5,13 +5,6 @@ This is the `root` highlighter, that highlights the whole line if the current | |||||||
| user is root. | user is root. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ### How to activate it |  | ||||||
| 
 |  | ||||||
| To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`: |  | ||||||
| 
 |  | ||||||
|     ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] root) |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| ### How to tweak it | ### How to tweak it | ||||||
| 
 | 
 | ||||||
| This highlighter defines the following styles: | This highlighter defines the following styles: | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Matthew Martin
						Matthew Martin