mirror of
				https://github.com/dcarrillo/dotfiles.git
				synced 2025-11-04 06:19:09 +00:00 
			
		
		
		
	[neovim] Fix gitsigns symbols
This commit is contained in:
		@@ -42,6 +42,7 @@ vim.opt.whichwrap:append("<,>,[,],h,l")
 | 
			
		||||
vim.opt.iskeyword:append("-")
 | 
			
		||||
vim.opt.formatoptions:remove({ "c", "r", "o" })
 | 
			
		||||
vim.opt.linebreak = true
 | 
			
		||||
vim.opt.numberwidth = 1
 | 
			
		||||
 | 
			
		||||
-- experimental
 | 
			
		||||
vim.opt.cmdheight = 0 -- Number of screen lines to use for the command-line
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,10 @@
 | 
			
		||||
require("gitsigns").setup({
 | 
			
		||||
	signs = {
 | 
			
		||||
		add = { hl = "GitSignsAdd", text = "", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" },
 | 
			
		||||
		change = { hl = "GitSignsChange", text = "", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" },
 | 
			
		||||
		delete = { hl = "GitSignsDelete", text = "契", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" },
 | 
			
		||||
		topdelete = { hl = "GitSignsDelete", text = "契", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" },
 | 
			
		||||
		changedelete = { hl = "GitSignsChange", text = "", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" },
 | 
			
		||||
		add = { hl = "GitSignsAdd", text = "│", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" },
 | 
			
		||||
		change = { hl = "GitSignsChange", text = "│", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" },
 | 
			
		||||
		delete = { hl = "GitSignsDelete", text = "", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" },
 | 
			
		||||
		topdelete = { hl = "GitSignsDelete", text = "", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" },
 | 
			
		||||
		changedelete = { hl = "GitSignsChange", text = "│", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" },
 | 
			
		||||
	},
 | 
			
		||||
	preview_config = {
 | 
			
		||||
		border = "rounded",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user