Move the nvim configuration files into `.config/nvim/after/plugin` so that they are autoloaded. This also means that the local `init` functions can be removed as they are no longer needed, and this also simplifies the Packer configuration.
23 lines
733 B
Lua
23 lines
733 B
Lua
require "colorbuddy"
|
|
|
|
local c = require("colorbuddy.color").colors
|
|
local Group = require("colorbuddy.group").Group
|
|
|
|
Group.new("GitSignsAdd", c.green)
|
|
Group.new("GitSignsChange", c.yellow)
|
|
Group.new("GitSignsDelete", c.red)
|
|
|
|
require 'gitsigns'.setup {
|
|
linehl = false,
|
|
numhl = true,
|
|
|
|
signs = {
|
|
add = { hl = "GitSignsAdd", text = "│", numhl = "GitSignsAddNr" },
|
|
change = { hl = "GitSignsChange", text = "│", numhl = "GitSignsChangeNr" },
|
|
delete = { hl = "GitSignsDelete", text = "_", numhl = "GitSignsDeleteNr" },
|
|
topdelete = { hl = "GitSignsDelete", text = "‾", numhl = "GitSignsDeleteNr" },
|
|
changedelete = { hl = "GitSignsDelete", text = "~", numhl = "GitSignsChangeNr" },
|
|
},
|
|
|
|
word_diff = false,
|
|
}
|