mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02: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" |     if config.vim.statusline.lualine.theme == "catppuccin" | ||||||
|     then "#181825" |     then "#181825" | ||||||
|     else "none"; |     else "none"; | ||||||
|   tempDesc = "see plugin docs for more info"; |  | ||||||
| in { | in { | ||||||
|   options.vim.statusline.lualine = { |   options.vim.statusline.lualine = { | ||||||
|     setupOpts = mkPluginSetupOption "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"]; |  | ||||||
|         }; |  | ||||||
|       }; |  | ||||||
|     }; |  | ||||||
| 
 | 
 | ||||||
|     enable = mkEnableOption "lualine statusline plugin"; |     enable = mkEnableOption "lualine statusline plugin"; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Pei Yang Ching
				Pei Yang Ching