mirror of
				https://github.com/tiyn/tccs.nvim.git
				synced 2025-11-04 05:01:21 +01:00 
			
		
		
		
	added yank colors
This commit is contained in:
		@@ -41,6 +41,7 @@ colors.get_colors = function()
 | 
				
			|||||||
    removed_bg      = "#190E11",
 | 
					    removed_bg      = "#190E11",
 | 
				
			||||||
    -- bonus
 | 
					    -- bonus
 | 
				
			||||||
    visual_fg       = "#C586C0",
 | 
					    visual_fg       = "#C586C0",
 | 
				
			||||||
 | 
					    yank_fg         = "#F5C359",
 | 
				
			||||||
    -- lsp
 | 
					    -- lsp
 | 
				
			||||||
    error           = "#FB0101",
 | 
					    error           = "#FB0101",
 | 
				
			||||||
    warning         = "#FFD602",
 | 
					    warning         = "#FFD602",
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -304,10 +304,14 @@ theme.set_highlights = function(opts)
 | 
				
			|||||||
  hl(0, "@stringEscape", { fg = c.string, bold = true })
 | 
					  hl(0, "@stringEscape", { fg = c.string, bold = true })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  -- modes.nvim
 | 
					  -- modes.nvim
 | 
				
			||||||
  hl(0, "ModesCopy", { bg = c.fg, fg = c.bg })
 | 
					  hl(0, "ModesCopy", { bg = c.yank_fg })
 | 
				
			||||||
  hl(0, "ModesDelete", { bg = c.removed_fg })
 | 
					  hl(0, "ModesDelete", { bg = c.removed_fg })
 | 
				
			||||||
  hl(0, "ModesInsert", { bg = c.added_fg })
 | 
					  hl(0, "ModesInsert", { bg = c.added_fg })
 | 
				
			||||||
  hl(0, "ModesVisual", { bg = c.visual_fg })
 | 
					  hl(0, "ModesVisual", { bg = c.visual_fg })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  -- highlighting on yank
 | 
				
			||||||
 | 
					  hl(0, "YankHighlight", { bg = c.yank_fg })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
end
 | 
					end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
return theme
 | 
					return theme
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user