diff options
author | christianchiarulli <[email protected]> | 2021-07-09 21:01:23 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-09 21:01:23 -0400 |
commit | b8182d5aeecd50ad6a7d4f5b9b1a8ccbd8bbad02 (patch) | |
tree | ffd8fd765b36cf0f4dc353074bf31225beca67ce /lua/lv-gitsigns/config.lua | |
parent | 0ce8dfd998f85e2b1dd6fa78643884a267460b0e (diff) |
refactor plugin config
Diffstat (limited to 'lua/lv-gitsigns/config.lua')
-rw-r--r-- | lua/lv-gitsigns/config.lua | 47 |
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, +} |