mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +00:00 
			
		
		
		
	Merge pull request #55 from horriblename/bugfix-themes
fix: accept missing transparent attribute
This commit is contained in:
		
				commit
				
					
						a35005f4b7
					
				
			
		
					 1 changed files with 8 additions and 2 deletions
				
			
		|  | @ -1,6 +1,9 @@ | ||||||
| {lib}: { | {lib}: { | ||||||
|   onedark = { |   onedark = { | ||||||
|     setup = {style ? "dark"}: '' |     setup = { | ||||||
|  |       style ? "dark", | ||||||
|  |       transparent, | ||||||
|  |     }: '' | ||||||
|       -- OneDark theme |       -- OneDark theme | ||||||
|       require('onedark').setup { |       require('onedark').setup { | ||||||
|         style = "${style}" |         style = "${style}" | ||||||
|  | @ -11,7 +14,10 @@ | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   tokyonight = { |   tokyonight = { | ||||||
|     setup = {style ? "night"}: '' |     setup = { | ||||||
|  |       style ? "night", | ||||||
|  |       transparent, | ||||||
|  |     }: '' | ||||||
|       vim.cmd[[colorscheme tokyonight-${style}]] |       vim.cmd[[colorscheme tokyonight-${style}]] | ||||||
|     ''; |     ''; | ||||||
|     styles = ["day" "night" "storm" "moon"]; |     styles = ["day" "night" "storm" "moon"]; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 NotAShelf
				NotAShelf