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:
parent
a67d1337bb
commit
828b1147fc
@ -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
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user