config.lua 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. O.plugin.gitsigns = {
  2. signs = {
  3. -- TODO add hl to colorscheme
  4. add = {
  5. hl = "GitSignsAdd",
  6. text = "▎",
  7. numhl = "GitSignsAddNr",
  8. linehl = "GitSignsAddLn",
  9. },
  10. change = {
  11. hl = "GitSignsChange",
  12. text = "▎",
  13. numhl = "GitSignsChangeNr",
  14. linehl = "GitSignsChangeLn",
  15. },
  16. delete = {
  17. hl = "GitSignsDelete",
  18. text = "契",
  19. numhl = "GitSignsDeleteNr",
  20. linehl = "GitSignsDeleteLn",
  21. },
  22. topdelete = {
  23. hl = "GitSignsDelete",
  24. text = "契",
  25. numhl = "GitSignsDeleteNr",
  26. linehl = "GitSignsDeleteLn",
  27. },
  28. changedelete = {
  29. hl = "GitSignsChange",
  30. text = "▎",
  31. numhl = "GitSignsChangeNr",
  32. linehl = "GitSignsChangeLn",
  33. },
  34. },
  35. numhl = false,
  36. linehl = false,
  37. keymaps = {
  38. -- Default keymap options
  39. noremap = true,
  40. buffer = true,
  41. },
  42. watch_index = { interval = 1000 },
  43. sign_priority = 6,
  44. update_debounce = 200,
  45. status_formatter = nil, -- Use default
  46. use_decoration_api = false,
  47. }