mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +00:00 
			
		
		
		
	remove sub-options for lualine.setupOpts
Having users to use setupOpts for lualine would suck since lualine uses
the `{"module", option = value} lua syntax heavily and we don't have a
good syntax for that
	
	
This commit is contained in:
		
					parent
					
						
							
								87e8732461
							
						
					
				
			
			
				commit
				
					
						1d5fa0afdc
					
				
			
		
					 1 changed files with 1 additions and 20 deletions
				
			
		|  | @ -14,28 +14,9 @@ | |||
|     if config.vim.statusline.lualine.theme == "catppuccin" | ||||
|     then "#181825" | ||||
|     else "none"; | ||||
|   tempDesc = "see plugin docs for more info"; | ||||
| in { | ||||
|   options.vim.statusline.lualine = { | ||||
|     setupOpts = mkPluginSetupOption "Lualine" { | ||||
|       options = { | ||||
|         disabled_filetypes = mkOption { | ||||
|           description = tempDesc; | ||||
|           type = listOf str; | ||||
|           default = ["alpha"]; | ||||
|         }; | ||||
|         always_divide_middle = mkOption { | ||||
|           description = tempDesc; | ||||
|           type = bool; | ||||
|           default = true; | ||||
|         }; | ||||
|         ignore_focus = mkOption { | ||||
|           description = tempDesc; | ||||
|           type = listOf str; | ||||
|           default = ["NvimTree"]; | ||||
|         }; | ||||
|       }; | ||||
|     }; | ||||
|     setupOpts = mkPluginSetupOption "Lualine" {}; | ||||
| 
 | ||||
|     enable = mkEnableOption "lualine statusline plugin"; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Pei Yang Ching
				Pei Yang Ching