🔒 Backup for my config files
dotfiles
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 206 lines 6.6 kB view raw
1local custom_bg = "#242438" 2 3return { 4 "catppuccin/nvim", 5 name = "catppuccin", 6 lazy = false, 7 priority = 1000, 8 opts = { 9 flavour = "mocha", 10 11 background = { 12 light = "latte", 13 dark = "mocha", 14 }, 15 16 transparent_background = true, 17 18 float = { 19 transparent = true, 20 solid = false, 21 }, 22 23 show_end_of_buffer = false, 24 term_colors = false, 25 26 auto_integrations = true, 27 28 dim_inactive = { 29 enabled = false, 30 shade = "dark", 31 percentage = 0.15, 32 }, 33 34 no_italic = false, 35 no_bold = false, 36 no_underline = false, 37 38 styles = { 39 comments = {}, 40 conditionals = {}, 41 loops = {}, 42 functions = {}, 43 keywords = {}, 44 strings = {}, 45 variables = {}, 46 numbers = {}, 47 booleans = {}, 48 properties = {}, 49 types = {}, 50 operators = {}, 51 }, 52 53 lsp_styles = { 54 virtual_text = { 55 errors = { "italic" }, 56 hints = { "italic" }, 57 warnings = { "italic" }, 58 information = { "italic" }, 59 ok = { "italic" }, 60 }, 61 62 underlines = { 63 errors = { "underline" }, 64 hints = { "underline" }, 65 warnings = { "underline" }, 66 information = { "underline" }, 67 ok = { "underline" }, 68 }, 69 70 inlay_hints = { 71 background = true, 72 }, 73 }, 74 75 color_overrides = { 76 mocha = { 77 blue = "#87afff", 78 green = "#afd7af", 79 maroon = "#ffafaf", 80 mauve = "#d7afff", 81 overlay1 = "#5f5f87", 82 overlay2 = "#9e9e9e", 83 peach = "#ffaf87", 84 pink = "#ffafd7", 85 lavender = "#b4befe", 86 red = "#ff87af", 87 sky = "#87d7d7", 88 text = "#d7d7ff", 89 yellow = "#ffd7af", 90 }, 91 }, 92 93 integrations = { 94 blink_cmp = { style = "bordered" }, 95 }, 96 97 custom_highlights = function(colors) 98 return { 99 100 ["@module"] = { fg = colors.lavender }, 101 Comment = { fg = colors.overlay1 }, 102 Type = { fg = colors.yellow }, 103 LspInlayHint = { fg = colors.overlay1, bg = colors.none }, 104 CursorLine = { bg = custom_bg }, 105 Label = { fg = colors.blue }, 106 LineNr = { fg = colors.overlay1 }, 107 Visual = { bg = "#353749" }, 108 109 LspReferenceWrite = { bg = colors.none, bold = true }, 110 LspReferenceRead = { bg = colors.none, bold = true }, 111 LspReferenceText = { bg = colors.none, bold = true }, 112 113 --  Making the float window same color as the bg 114 NormalFloat = { bg = colors.none }, 115 FloatTitle = { fg = colors.overlay0, bg = colors.none }, 116 FloatBorder = { fg = colors.overlay1, bg = colors.none }, 117 118 --  TODO 119 TodoBgFIX = { fg = colors.red, bg = colors.none }, 120 TodoBgHACK = { fg = colors.yellow, bg = colors.none }, 121 TodoBgNOTE = { fg = colors.text, bg = colors.none }, 122 TodoBgPERF = { fg = colors.yellow, bg = colors.none }, 123 TodoBgTEST = { fg = colors.mauve, bg = colors.none }, 124 TodoBgTODO = { fg = colors.blue, bg = colors.none }, 125 TodoBgWARN = { fg = colors.yellow, bg = colors.none }, 126 TodoBgCAUTION = { fg = colors.red, bg = colors.none }, 127 128 -- 󱐀 Completion 129 Pmenu = { bg = colors.none }, 130 PmenuSel = { fg = colors.text, bg = colors.surface0 }, 131 132 ColorColumn = { bg = colors.none }, 133 134 -- 󱐀 BlinkCmp 135 BlinkCmpKindStruct = { fg = colors.yellow }, 136 BlinkCmpKindEnum = { fg = colors.yellow }, 137 BlinkCmpKindEnumMember = { fg = colors.peach }, 138 BlinkCmpMenuBorder = { fg = colors.overlay1, bg = colors.none }, 139 BlinkCmpDoc = { fg = colors.text, bg = colors.none }, 140 141 --  Yanky 142 YankyYanked = { fg = colors.none, bg = colors.peach }, 143 YankyPut = { fg = colors.none, bg = colors.peach }, 144 145 -- 󱥰 Snacks 146 SnacksPickerRule = { bg = colors.overlay1 }, 147 SnacksDashboardHeader = { fg = colors.mauve }, 148 SnacksDashboardIcon = { fg = colors.mauve }, 149 SnacksDashboardKey = { fg = colors.mauve }, 150 151 SnacksInputIcon = { fg = colors.text }, 152 SnacksInputTitle = { fg = colors.text }, 153 SnacksInputBorder = { fg = colors.text }, 154 155 --  Noice 156 NoiceScrollbar = { bg = colors.none }, 157 NoiceScrollbarThumb = { bg = colors.overlay1 }, 158 159 -- Render Markdown 160 RenderMarkdownCode = { bg = colors.mantle }, 161 RenderMarkdownCodeInline = { bg = colors.surface0 }, 162 RenderMarkdownBullet = { fg = colors.text }, 163 164 RenderMarkdownH1Bg = { bg = colors.surface0 }, 165 RenderMarkdownH2Bg = { bg = colors.surface0 }, 166 RenderMarkdownH3Bg = { bg = colors.surface0 }, 167 RenderMarkdownH4Bg = { bg = colors.surface0 }, 168 RenderMarkdownH5Bg = { bg = colors.surface0 }, 169 RenderMarkdownH6Bg = { bg = colors.surface0 }, 170 171 ["@markup.quote"] = { fg = colors.pink }, 172 ["@markup.raw.markdown_inline"] = { fg = colors.lavender, bg = colors.surface0 }, 173 ["@markup.raw.block.markdown"] = { fg = colors.lavender, bg = colors.none }, 174 ["@markup.strong.markdown_inline"] = { fg = colors.lavender, bold = true }, 175 ["@markup.heading.git_config"] = { fg = colors.maroon }, 176 177 ["@markup.heading.1.markdown"] = { fg = colors.lavender, bold = true }, 178 ["@markup.heading.2.markdown"] = { fg = colors.lavender, bold = true }, 179 ["@markup.heading.3.markdown"] = { fg = colors.lavender, bold = true }, 180 ["@markup.heading.4.markdown"] = { fg = colors.lavender, bold = true }, 181 ["@markup.heading.5.markdown"] = { fg = colors.lavender, bold = true }, 182 ["@markup.heading.6.markdown"] = { fg = colors.lavender, bold = true }, 183 184 ["@markup.quote.markdown"] = { fg = colors.text }, 185 186 ["@punctuation.special.markdown"] = { fg = colors.overlay1 }, 187 ["@punctuation.delimiter"] = { fg = colors.overlay1 }, 188 189 --  Zig Highlights -- 190 ["@function.builtin.zig"] = { fg = colors.peach }, 191 ["@lsp.type.enumMember.zig"] = { fg = colors.maroon }, 192 ["@lsp.type.namespace.zig"] = { fg = colors.text, italic = false }, 193 ["@lsp.type.parameter.zig"] = { fg = colors.lavender }, 194 ["@lsp.type.property.zig"] = { fg = colors.text }, 195 ["@lsp.type.struct.zig"] = { fg = colors.yellow }, 196 ["@variable.parameter.zig"] = { fg = colors.yellow }, 197 198 --  Python Highlights -- 199 ["@string.documentation.python"] = { fg = colors.overlay1 }, 200 ["@constructor.python"] = { fg = colors.yellow }, 201 202 ["@function.just"] = { fg = colors.lavender }, 203 } 204 end, 205 }, 206}