Skip to content

Commit

Permalink
feat: leap, trouble, lualine diff support
Browse files Browse the repository at this point in the history
  • Loading branch information
fcancelinha committed Sep 29, 2023
1 parent 3f2152f commit e31afcf
Showing 1 changed file with 143 additions and 26 deletions.
169 changes: 143 additions & 26 deletions lua/northern/plugs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,36 @@ local C = require("northern.colors")
local P = {}

P.trouble = {
TroubleCount = { fg = C.none, bg = C.none },
TroubleError = { fg = C.none, bg = C.none },
TroubleNormal = { fg = C.none, bg = C.none },
TroubleTextInformation = { fg = C.none, bg = C.none },
TroubleSignWarning = { fg = C.none, bg = C.none },
TroubleLocation = { fg = C.none, bg = C.none },
TroubleWarning = { fg = C.none, bg = C.none },
TroublePreview = { fg = C.none, bg = C.none },
TroubleTextError = { fg = C.none, bg = C.none },
TroubleSignInformation = { fg = C.none, bg = C.none },
TroubleIndent = { fg = C.none, bg = C.none },
TroubleSource = { fg = C.none, bg = C.none },
TroubleSignHint = { fg = C.none, bg = C.none },
TroubleSignOther = { fg = C.none, bg = C.none },
TroubleFoldIcon = { fg = C.none, bg = C.none },
TroubleTextWarning = { fg = C.none, bg = C.none },
TroubleCode = { fg = C.none, bg = C.none },
TroubleInformation = { fg = C.none, bg = C.none },
TroubleSignError = { fg = C.none, bg = C.none },
TroubleFile = { fg = C.none, bg = C.none },
TroubleHint = { fg = C.none, bg = C.none },
TroubleTextHint = { fg = C.none, bg = C.none },
TroubleText = { fg = C.none, bg = C.none },
TroubleCode = { fg = C.fg, bg = C.none },
TroubleCount = { fg = C.aurora.purple, bg = C.none, bold = true },
TroubleError = { fg = C.aurora.red, bg = C.none, bold = true },
TroubleFile = { fg = C.fg, bg = C.none },
TroubleFoldIcon = { fg = C.night.c2, bg = C.none },
TroubleHint = { fg = C.frost.turquoise, bg = C.none, bold = true },
TroubleIndent = { fg = C.night.c0, bg = C.none },
TroubleInformation = { fg = C.frost.turquoise, bg = C.none, bold = true },
TroubleLocation = { fg = C.snow.c0, bg = C.none },
TroubleNormal = { fg = C.fg, bg = C.none },
TroublePreview = { fg = C.snow.c0, bg = C.none },
TroubleSignError = { fg = C.aurora.red, bg = C.none },
TroubleSignHint = { fg = C.frost.turquoise, bg = C.none },
TroubleSignInformation = { fg = C.frost.turquoise, bg = C.none },
TroubleSignOther = { fg = C.frost.turquoise, bg = C.none },
TroubleSignWarning = { fg = C.aurora.yellow, bg = C.none },
TroubleSource = { fg = C.snow.c0, bg = C.none },
TroubleText = { fg = C.fg, bg = C.none },
TroubleTextError = { fg = C.aurora.red, bg = C.none, bold = true },
TroubleTextHint = { fg = C.frost.turquoise, bg = C.none, bold = true },
TroubleTextInformation = { fg = C.frost.light_blue, bg = C.none, bold = true },
TroubleTextWarning = { fg = C.aurora.yellow, bg = C.none, bold = true },
TroubleWarning = { fg = C.aurora.yellow, bg = C.none },
}

P.leap = {
LeapLabelSecondary = { fg = C.night.c0, bg = C.aurora.green, bold = true },
LeapLabelSelected = { fg = C.night.c0, bg = C.aurora.purple, bold = true },
LeapLabelPrimary = { fg = C.night.c0, bg = C.aurora.yellow, bold = true },
LeapMatch = { fg = C.night.c0, bg = C.frost.turquoise, bold = true },
}

P.noice = {
Expand Down Expand Up @@ -71,7 +78,7 @@ P.noice = {
NoiceLspProgressClient = { fg = C.frost.blue, bg = C.blend.blue }, --lsp progress client name
NoiceLspProgressSpinner = { fg = C.aurora.green, bg = C.blend.green }, --lsp progress spinner
NoiceLspProgressTitle = { fg = C.fg, bg = C.none }, --lsp progress title
NoiceMini = { fg = C.frost.turquoise, bg = C.bg, blend = 0 }, --normal for mini view
NoiceMini = { fg = C.snow.c0, bg = C.bg, blend = 0 }, --normal for mini view
NoicePopup = { fg = C.frost.turquoise, bg = C.bg }, --Normal for popup views
NoicePopupBorder = { fg = C.frost.turquoise, bg = C.bg }, --Border for popup views
NoicePopupmenu = { fg = C.frost.turquoise, bg = C.blend.blue }, --normal for the popupmenu
Expand All @@ -82,8 +89,7 @@ P.noice = {
NoiceScrollbarThumb = { fg = C.none, bg = C.none }, --Scrollbar thumb
NoiceSplit = { fg = C.fg, bg = C.bg }, --Normal for split views
NoiceSplitBorder = { fg = C.night.c1, bg = C.bg }, --Border for split views
NoiceVirtualText = { fg = C.frost.turquoise, bg = C.blend.turquoise }, --Default hl group for virtualtext views

NoiceVirtualText = { fg = C.frost.turquoise, bg = C.none }, --Default hl group for virtualtext views
}

P.dadBod = {
Expand Down Expand Up @@ -344,4 +350,115 @@ P.indent_blankline = {
["@ibl.whitespace.char.1"] = { fg = C.none, bg = C.none, sp = C.none },
}

P.lualine = {
lualine_a_diff_added_command = { fg = C.aurora.green, bg = C.none },
lualine_a_diff_added_inactive = { fg = C.aurora.green, bg = C.none },
lualine_a_diff_added_insert = { fg = C.aurora.green, bg = C.none },
lualine_a_diff_added_normal = { fg = C.aurora.green, bg = C.none },
lualine_a_diff_added_replace = { fg = C.aurora.green, bg = C.none },
lualine_a_diff_added_visual = { fg = C.aurora.green, bg = C.none },
lualine_a_diff_modified_command = { fg = C.aurora.yellow, bg = C.none },
lualine_a_diff_modified_inactive = { fg = C.aurora.yellow, bg = C.none },
lualine_a_diff_modified_insert = { fg = C.aurora.yellow, bg = C.none },
lualine_a_diff_modified_normal = { fg = C.aurora.yellow, bg = C.none },
lualine_a_diff_modified_replace = { fg = C.aurora.yellow, bg = C.none },
lualine_a_diff_modified_visual = { fg = C.aurora.yellow, bg = C.none },
lualine_a_diff_removed_command = { fg = C.aurora.red, bg = C.none },
lualine_a_diff_removed_inactive = { fg = C.aurora.red, bg = C.none },
lualine_a_diff_removed_insert = { fg = C.aurora.red, bg = C.none },
lualine_a_diff_removed_normal = { fg = C.aurora.red, bg = C.none },
lualine_a_diff_removed_replace = { fg = C.aurora.red, bg = C.none },
lualine_a_diff_removed_visual = { fg = C.aurora.red, bg = C.none },
lualine_b_diff_added_command = { fg = C.aurora.green, bg = C.none },
lualine_b_diff_added_inactive = { fg = C.aurora.green, bg = C.none },
lualine_b_diff_added_insert = { fg = C.aurora.green, bg = C.none },
lualine_b_diff_added_normal = { fg = C.aurora.green, bg = C.none },
lualine_b_diff_added_replace = { fg = C.aurora.green, bg = C.none },
lualine_b_diff_added_visual = { fg = C.aurora.green, bg = C.none },
lualine_b_diff_modified_command = { fg = C.aurora.yellow, bg = C.none },
lualine_b_diff_modified_inactive = { fg = C.aurora.yellow, bg = C.none },
lualine_b_diff_modified_insert = { fg = C.aurora.yellow, bg = C.none },
lualine_b_diff_modified_normal = { fg = C.aurora.yellow, bg = C.none },
lualine_b_diff_modified_replace = { fg = C.aurora.yellow, bg = C.none },
lualine_b_diff_modified_visual = { fg = C.aurora.yellow, bg = C.none },
lualine_b_diff_removed_command = { fg = C.aurora.red, bg = C.none },
lualine_b_diff_removed_inactive = { fg = C.aurora.red, bg = C.none },
lualine_b_diff_removed_insert = { fg = C.aurora.red, bg = C.none },
lualine_b_diff_removed_normal = { fg = C.aurora.red, bg = C.none },
lualine_b_diff_removed_replace = { fg = C.aurora.red, bg = C.none },
lualine_b_diff_removed_visual = { fg = C.aurora.red, bg = C.none },
lualine_c_diff_added_command = { fg = C.aurora.green, bg = C.none },
lualine_c_diff_added_inactive = { fg = C.aurora.green, bg = C.none },
lualine_c_diff_added_insert = { fg = C.aurora.green, bg = C.none },
lualine_c_diff_added_normal = { fg = C.aurora.green, bg = C.none },
lualine_c_diff_added_replace = { fg = C.aurora.green, bg = C.none },
lualine_c_diff_added_visual = { fg = C.aurora.green, bg = C.none },
lualine_c_diff_modified_command = { fg = C.aurora.yellow, bg = C.none },
lualine_c_diff_modified_inactive = { fg = C.aurora.yellow, bg = C.none },
lualine_c_diff_modified_insert = { fg = C.aurora.yellow, bg = C.none },
lualine_c_diff_modified_normal = { fg = C.aurora.yellow, bg = C.none },
lualine_c_diff_modified_replace = { fg = C.aurora.yellow, bg = C.none },
lualine_c_diff_modified_visual = { fg = C.aurora.yellow, bg = C.none },
lualine_c_diff_removed_command = { fg = C.aurora.red, bg = C.none },
lualine_c_diff_removed_inactive = { fg = C.aurora.red, bg = C.none },
lualine_c_diff_removed_insert = { fg = C.aurora.red, bg = C.none },
lualine_c_diff_removed_normal = { fg = C.aurora.red, bg = C.none },
lualine_c_diff_removed_replace = { fg = C.aurora.red, bg = C.none },
lualine_c_diff_removed_visual = { fg = C.aurora.red, bg = C.none },
lualine_x_diff_added_command = { fg = C.aurora.green, bg = C.none },
lualine_x_diff_added_inactive = { fg = C.aurora.green, bg = C.none },
lualine_x_diff_added_insert = { fg = C.aurora.green, bg = C.none },
lualine_x_diff_added_normal = { fg = C.aurora.green, bg = C.none },
lualine_x_diff_added_replace = { fg = C.aurora.green, bg = C.none },
lualine_x_diff_added_visual = { fg = C.aurora.green, bg = C.none },
lualine_x_diff_modified_command = { fg = C.aurora.yellow, bg = C.none },
lualine_x_diff_modified_inactive = { fg = C.aurora.yellow, bg = C.none },
lualine_x_diff_modified_insert = { fg = C.aurora.yellow, bg = C.none },
lualine_x_diff_modified_normal = { fg = C.aurora.yellow, bg = C.none },
lualine_x_diff_modified_replace = { fg = C.aurora.yellow, bg = C.none },
lualine_x_diff_modified_visual = { fg = C.aurora.yellow, bg = C.none },
lualine_x_diff_removed_command = { fg = C.aurora.red, bg = C.none },
lualine_x_diff_removed_inactive = { fg = C.aurora.red, bg = C.none },
lualine_x_diff_removed_insert = { fg = C.aurora.red, bg = C.none },
lualine_x_diff_removed_normal = { fg = C.aurora.red, bg = C.none },
lualine_x_diff_removed_replace = { fg = C.aurora.red, bg = C.none },
lualine_x_diff_removed_visual = { fg = C.aurora.red, bg = C.none },
lualine_y_diff_added_command = { fg = C.aurora.green, bg = C.none },
lualine_y_diff_added_inactive = { fg = C.aurora.green, bg = C.none },
lualine_y_diff_added_insert = { fg = C.aurora.green, bg = C.none },
lualine_y_diff_added_normal = { fg = C.aurora.green, bg = C.none },
lualine_y_diff_added_replace = { fg = C.aurora.green, bg = C.none },
lualine_y_diff_added_visual = { fg = C.aurora.green, bg = C.none },
lualine_y_diff_modified_command = { fg = C.aurora.yellow, bg = C.none },
lualine_y_diff_modified_inactive = { fg = C.aurora.yellow, bg = C.none },
lualine_y_diff_modified_insert = { fg = C.aurora.yellow, bg = C.none },
lualine_y_diff_modified_normal = { fg = C.aurora.yellow, bg = C.none },
lualine_y_diff_modified_replace = { fg = C.aurora.yellow, bg = C.none },
lualine_y_diff_modified_visual = { fg = C.aurora.yellow, bg = C.none },
lualine_y_diff_removed_command = { fg = C.aurora.red, bg = C.none },
lualine_y_diff_removed_inactive = { fg = C.aurora.red, bg = C.none },
lualine_y_diff_removed_insert = { fg = C.aurora.red, bg = C.none },
lualine_y_diff_removed_normal = { fg = C.aurora.red, bg = C.none },
lualine_y_diff_removed_replace = { fg = C.aurora.red, bg = C.none },
lualine_y_diff_removed_visual = { fg = C.aurora.red, bg = C.none },
lualine_z_diff_added_command = { fg = C.aurora.green, bg = C.none },
lualine_z_diff_added_inactive = { fg = C.aurora.green, bg = C.none },
lualine_z_diff_added_insert = { fg = C.aurora.green, bg = C.none },
lualine_z_diff_added_normal = { fg = C.aurora.green, bg = C.none },
lualine_z_diff_added_replace = { fg = C.aurora.green, bg = C.none },
lualine_z_diff_added_visual = { fg = C.aurora.green, bg = C.none },
lualine_z_diff_modified_command = { fg = C.aurora.yellow, bg = C.none },
lualine_z_diff_modified_inactive = { fg = C.aurora.yellow, bg = C.none },
lualine_z_diff_modified_insert = { fg = C.aurora.yellow, bg = C.none },
lualine_z_diff_modified_normal = { fg = C.aurora.yellow, bg = C.none },
lualine_z_diff_modified_replace = { fg = C.aurora.yellow, bg = C.none },
lualine_z_diff_modified_visual = { fg = C.aurora.yellow, bg = C.none },
lualine_z_diff_removed_command = { fg = C.aurora.red, bg = C.none },
lualine_z_diff_removed_inactive = { fg = C.aurora.red, bg = C.none },
lualine_z_diff_removed_insert = { fg = C.aurora.red, bg = C.none },
lualine_z_diff_removed_normal = { fg = C.aurora.red, bg = C.none },
lualine_z_diff_removed_replace = { fg = C.aurora.red, bg = C.none },
lualine_z_diff_removed_visual = { fg = C.aurora.red, bg = C.none },
}

return P

0 comments on commit e31afcf

Please sign in to comment.