summaryrefslogtreecommitdiff
path: root/lua/lv-gitsigns/config.lua
diff options
context:
space:
mode:
authorchristianchiarulli <[email protected]>2021-07-09 21:01:23 -0400
committerchristianchiarulli <[email protected]>2021-07-09 21:01:23 -0400
commitb8182d5aeecd50ad6a7d4f5b9b1a8ccbd8bbad02 (patch)
treeffd8fd765b36cf0f4dc353074bf31225beca67ce /lua/lv-gitsigns/config.lua
parent0ce8dfd998f85e2b1dd6fa78643884a267460b0e (diff)
refactor plugin config
Diffstat (limited to 'lua/lv-gitsigns/config.lua')
-rw-r--r--lua/lv-gitsigns/config.lua47
1 files changed, 47 insertions, 0 deletions
diff --git a/lua/lv-gitsigns/config.lua b/lua/lv-gitsigns/config.lua
new file mode 100644
index 00000000..58057a14
--- /dev/null
+++ b/lua/lv-gitsigns/config.lua
@@ -0,0 +1,47 @@
+O.plugin.gitsigns = {
+ signs = {
+ -- TODO add hl to colorscheme
+ 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",
+ },
+ },
+ numhl = false,
+ linehl = false,
+ keymaps = {
+ -- Default keymap options
+ noremap = true,
+ buffer = true,
+ },
+ watch_index = { interval = 1000 },
+ sign_priority = 6,
+ update_debounce = 200,
+ status_formatter = nil, -- Use default
+ use_decoration_api = false,
+}