mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-26 09:20:08 +00:00 
			
		
		
		
	utility/telescope: document missing layout options
This commit is contained in:
		
					parent
					
						
							
								95f2638ba5
							
						
					
				
			
			
				commit
				
					
						7644edfe2b
					
				
			
		
					 1 changed files with 10 additions and 13 deletions
				
			
		|  | @ -95,42 +95,42 @@ | |||
|           options = { | ||||
|             horizontal = { | ||||
|               prompt_position = mkOption { | ||||
|                 description = ""; | ||||
|                 type = str; | ||||
|                 type = enum ["top" "bottom"]; | ||||
|                 default = "top"; | ||||
|                 description = "Where to place prompt window"; | ||||
|               }; | ||||
| 
 | ||||
|               preview_width = mkOption { | ||||
|                 description = ""; | ||||
|                 type = float; | ||||
|                 default = 0.55; | ||||
|                 description = "Change the width of Telescope's preview window"; | ||||
|               }; | ||||
|             }; | ||||
| 
 | ||||
|             vertical = { | ||||
|               mirror = mkOption { | ||||
|                 description = ""; | ||||
|                 type = bool; | ||||
|                 default = false; | ||||
|                 description = "Flip the location of the results/prompt and preview windows"; | ||||
|               }; | ||||
|             }; | ||||
| 
 | ||||
|             width = mkOption { | ||||
|               description = ""; | ||||
|               type = float; | ||||
|               default = 0.8; | ||||
|               description = "How wide to make Telescope's entire layout"; | ||||
|             }; | ||||
| 
 | ||||
|             height = mkOption { | ||||
|               description = ""; | ||||
|               type = float; | ||||
|               default = 0.8; | ||||
|               description = "How tall to make Telescope's entire layout"; | ||||
|             }; | ||||
| 
 | ||||
|             preview_cutoff = mkOption { | ||||
|               description = ""; | ||||
|               type = int; | ||||
|               default = 120; | ||||
|               description = "When lines are less than this value, the preview will be disabled"; | ||||
|             }; | ||||
|           }; | ||||
|         }; | ||||
|  | @ -145,13 +145,10 @@ | |||
|       file_ignore_patterns = mkOption { | ||||
|         type = listOf str; | ||||
|         default = ["node_modules" "%.git/" "dist/" "build/" "target/" "result/"]; | ||||
|         description = "File patterns to omit from Telescope results"; | ||||
|       }; | ||||
| 
 | ||||
|       color_devicons = mkOption { | ||||
|         type = bool; | ||||
|         default = true; | ||||
|         description = "Boolean if devicons should be enabled or not."; | ||||
|       }; | ||||
|       color_devicons = mkEnableOption "colored devicons"; | ||||
| 
 | ||||
|       path_display = mkOption { | ||||
|         type = listOf (enum ["hidden" "tail" "absolute" "smart" "shorten" "truncate"]); | ||||
|  | @ -168,7 +165,7 @@ | |||
|       winblend = mkOption { | ||||
|         type = int; | ||||
|         default = 0; | ||||
|         description = "pseudo-transparency of keymap hints floating window"; | ||||
|         description = "Pseudo-transparency of keymap hints floating window"; | ||||
|       }; | ||||
| 
 | ||||
|       extensions = mkOption { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue