1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 18:38:00 +00:00

[neovim] Fix gitsigns symbols

This commit is contained in:
Daniel Carrillo 2023-05-25 18:53:51 +02:00
parent a67d1337bb
commit 828b1147fc
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
2 changed files with 6 additions and 5 deletions

View File

@ -42,6 +42,7 @@ vim.opt.whichwrap:append("<,>,[,],h,l")
vim.opt.iskeyword:append("-") vim.opt.iskeyword:append("-")
vim.opt.formatoptions:remove({ "c", "r", "o" }) vim.opt.formatoptions:remove({ "c", "r", "o" })
vim.opt.linebreak = true vim.opt.linebreak = true
vim.opt.numberwidth = 1
-- experimental -- experimental
vim.opt.cmdheight = 0 -- Number of screen lines to use for the command-line vim.opt.cmdheight = 0 -- Number of screen lines to use for the command-line

View File

@ -1,10 +1,10 @@
require("gitsigns").setup({ require("gitsigns").setup({
signs = { signs = {
add = { hl = "GitSignsAdd", text = "", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" }, add = { hl = "GitSignsAdd", text = "", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" },
change = { hl = "GitSignsChange", text = "", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" }, change = { hl = "GitSignsChange", text = "", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" },
delete = { hl = "GitSignsDelete", text = "", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" }, delete = { hl = "GitSignsDelete", text = "󰦺", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" },
topdelete = { hl = "GitSignsDelete", text = "", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" }, topdelete = { hl = "GitSignsDelete", text = "󰦺", numhl = "GitSignsDeleteNr", linehl = "GitSignsDeleteLn" },
changedelete = { hl = "GitSignsChange", text = "", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" }, changedelete = { hl = "GitSignsChange", text = "", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" },
}, },
preview_config = { preview_config = {
border = "rounded", border = "rounded",