๐Ÿ”’ Backup for my config files
dotfiles
0
fork

Configure Feed

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

turn on termguicolors

Kacaii f2764a94 b5ac9d40

+130 -132
+1
.config/nvim/lua/config/options.lua
··· 4 4 5 5 opt.scrolloff = 10 6 6 opt.cursorline = true 7 + opt.termguicolors = true
+129 -132
.config/nvim/lua/plugins/colorscheme.lua
··· 1 1 local custom_bg = "#242438" 2 2 3 3 return { 4 - "catppuccin/nvim", 5 - name = "catppuccin", 6 - lazy = false, 7 - priority = 1000, 8 - opts = { 9 - flavour = "mocha", -- latte, frappe, macchiato, mocha 10 - background = { light = "latte", dark = "mocha" }, 11 - transparent_background = false, -- disables setting the background color. 4 + "catppuccin/nvim", 5 + name = "catppuccin", 6 + lazy = false, 7 + priority = 1000, 8 + opts = { 9 + flavour = "mocha", -- latte, frappe, macchiato, mocha 10 + background = { light = "latte", dark = "mocha" }, 11 + transparent_background = false, -- disables setting the background color. 12 12 13 - show_end_of_buffer = false, -- shows the '~' characters after the end of buffers 14 - term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`) 13 + show_end_of_buffer = false, -- shows the '~' characters after the end of buffers 14 + term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`) 15 15 16 - default_integrations = true, 17 - auto_integrations = true, 16 + default_integrations = true, 17 + auto_integrations = true, 18 18 19 - dim_inactive = { enabled = false, shade = "dark", percentage = 0.15 }, 19 + dim_inactive = { enabled = false, shade = "dark", percentage = 0.15 }, 20 20 21 - no_italic = false, -- Force no italic 22 - no_bold = false, -- Force no bold 23 - no_underline = false, -- Force no underline 21 + no_italic = false, -- Force no italic 22 + no_bold = false, -- Force no bold 23 + no_underline = false, -- Force no underline 24 24 25 - highlight = { 26 - enable = true, 27 - additional_vim_regex_highlighting = false, 28 - }, 25 + highlight = { 26 + enable = true, 27 + additional_vim_regex_highlighting = false, 28 + }, 29 29 30 - -- Handles the styles of general hi groups (see `:h highlight-args`): 31 - styles = { 32 - comments = {}, 33 - conditionals = {}, 34 - loops = {}, 35 - functions = {}, 36 - keywords = {}, 37 - strings = {}, 38 - variables = {}, 39 - numbers = {}, 40 - booleans = {}, 41 - properties = {}, 42 - types = {}, 43 - operators = {}, 44 - }, 30 + -- Handles the styles of general hi groups (see `:h highlight-args`): 31 + styles = { 32 + comments = {}, 33 + conditionals = {}, 34 + loops = {}, 35 + functions = {}, 36 + keywords = {}, 37 + strings = {}, 38 + variables = {}, 39 + numbers = {}, 40 + booleans = {}, 41 + properties = {}, 42 + types = {}, 43 + operators = {}, 44 + }, 45 45 46 - color_overrides = { 47 - mocha = { 48 - blue = "#87afff", 49 - green = "#afd7af", 50 - maroon = "#ffafaf", 51 - mauve = "#d7afff", 52 - overlay1 = "#5f5f87", 53 - overlay2 = "#9e9e9e", 54 - peach = "#ffaf87", 55 - pink = "#ffafd7", 56 - red = "#ff87af", 57 - sky = "#87d7d7", 58 - text = "#d7d7ff", 59 - yellow = "#ffd7af", 60 - }, 61 - }, 46 + color_overrides = { 47 + mocha = { 48 + blue = "#87afff", 49 + green = "#afd7af", 50 + maroon = "#ffafaf", 51 + mauve = "#d7afff", 52 + overlay1 = "#5f5f87", 53 + overlay2 = "#9e9e9e", 54 + peach = "#ffaf87", 55 + pink = "#ffafd7", 56 + red = "#ff87af", 57 + sky = "#87d7d7", 58 + text = "#d7d7ff", 59 + yellow = "#ffd7af", 60 + }, 61 + }, 62 62 63 - custom_highlights = function(colors) 64 - return { 63 + custom_highlights = function(colors) 64 + return { 65 65 66 - -- ๓ฑฅ Core -- 67 - ["@module"] = { fg = colors.lavender }, 68 - Comment = { fg = colors.overlay1 }, 69 - Type = { fg = colors.yellow }, 70 - LspInlayHint = { fg = colors.overlay1, bg = colors.base }, 71 - CursorLine = { bg = custom_bg }, 72 - Label = { fg = colors.blue }, 73 - LineNr = { fg = colors.overlay1 }, 66 + -- ๓ฑฅ Core -- 67 + ["@module"] = { fg = colors.lavender }, 68 + Comment = { fg = colors.overlay1 }, 69 + Type = { fg = colors.yellow }, 70 + LspInlayHint = { fg = colors.overlay1, bg = colors.base }, 71 + CursorLine = { bg = custom_bg }, 72 + Label = { fg = colors.blue }, 73 + LineNr = { fg = colors.overlay1 }, 74 74 75 - -- ๎ญฟ Making the float window same color as the bg. -- 76 - NormalFloat = { fg = colors.text, bg = colors.none }, 77 - FloatBorder = { fg = colors.lavender, bg = colors.none }, 75 + -- ๎ญฟ Making the float window same color as the bg. -- 76 + NormalFloat = { fg = colors.text, bg = colors.none }, 77 + FloatBorder = { fg = colors.lavender, bg = colors.none }, 78 78 79 - -- ๏’ง TODO backgrounds 80 - TodoBgFIX = { fg = colors.red, bg = colors.base }, 81 - TodoBgHACK = { fg = colors.yellow, bg = colors.base }, 82 - TodoBgNOTE = { fg = colors.text, bg = colors.base }, 83 - TodoBgPERF = { fg = colors.yellow, bg = colors.base }, 84 - TodoBgTEST = { fg = colors.mauve, bg = colors.base }, 85 - TodoBgTODO = { fg = colors.blue, bg = colors.base }, 86 - TodoBgWARN = { fg = colors.yellow, bg = colors.base }, 87 - TodoBgCAUTION = { fg = colors.red, bg = colors.base }, 79 + -- ๏’ง TODO backgrounds 80 + TodoBgFIX = { fg = colors.red, bg = colors.base }, 81 + TodoBgHACK = { fg = colors.yellow, bg = colors.base }, 82 + TodoBgNOTE = { fg = colors.text, bg = colors.base }, 83 + TodoBgPERF = { fg = colors.yellow, bg = colors.base }, 84 + TodoBgTEST = { fg = colors.mauve, bg = colors.base }, 85 + TodoBgTODO = { fg = colors.blue, bg = colors.base }, 86 + TodoBgWARN = { fg = colors.yellow, bg = colors.base }, 87 + TodoBgCAUTION = { fg = colors.red, bg = colors.base }, 88 88 89 - -- ๓ฑ€ Completion -- 90 - Pmenu = { bg = colors.none }, 91 - PmenuSel = { fg = colors.text, bg = colors.surface0 }, 92 - BlinkCmpMenuBorder = { fg = colors.overlay1, bg = colors.base }, 89 + -- ๓ฑ€ Completion -- 90 + Pmenu = { bg = colors.none }, 91 + PmenuSel = { fg = colors.text, bg = colors.surface0 }, 92 + BlinkCmpMenuBorder = { fg = colors.overlay1, bg = colors.base }, 93 93 94 - -- ๓ฑ€ BlinkCmp -- 95 - BlinkCmpKindStruct = { fg = colors.yellow }, 96 - BlinkCmpKindEnum = { fg = colors.yellow }, 97 - BlinkCmpKindEnumMember = { fg = colors.peach }, 94 + -- ๓ฑ€ BlinkCmp -- 95 + BlinkCmpKindStruct = { fg = colors.yellow }, 96 + BlinkCmpKindEnum = { fg = colors.yellow }, 97 + BlinkCmpKindEnumMember = { fg = colors.peach }, 98 98 99 - -- ๎ฏŒ Yanky -- 100 - YankyYanked = { fg = colors.base, bg = colors.peach }, 101 - YankyPut = { fg = colors.base, bg = colors.peach }, 102 - 103 - -- ๓ฑฅฐ Snacks.dashboard -- 104 - SnacksDashboardHeader = { fg = colors.mauve }, 105 - SnacksDashboardIcon = { fg = colors.mauve }, 106 - SnacksDashboardKey = { fg = colors.mauve }, 99 + -- ๎ฏŒ Yanky -- 100 + YankyYanked = { fg = colors.base, bg = colors.peach }, 101 + YankyPut = { fg = colors.base, bg = colors.peach }, 107 102 108 - -- ๓ฑฅฐ Snacks.input -- 109 - SnacksInputIcon = { fg = colors.text }, 110 - SnacksInputTitle = { fg = colors.text }, 111 - SnacksInputBorder = { fg = colors.text }, 103 + -- ๓ฑฅฐ Snacks.dashboard -- 104 + SnacksDashboardHeader = { fg = colors.mauve }, 105 + SnacksDashboardIcon = { fg = colors.mauve }, 106 + SnacksDashboardKey = { fg = colors.mauve }, 112 107 113 - -- ๎Žฟ Noice 114 - NoiceScrollbar = { bg = colors.base }, 115 - NoiceScrollbarThumb = { bg = colors.overlay1 }, 108 + -- ๓ฑฅฐ Snacks.input -- 109 + SnacksInputIcon = { fg = colors.text }, 110 + SnacksInputTitle = { fg = colors.text }, 111 + SnacksInputBorder = { fg = colors.text }, 116 112 117 - -- ๎œพ render_markdown -- 118 - RenderMarkdownH1Bg = { bg = colors.base }, 119 - RenderMarkdownH2Bg = { bg = colors.base }, 120 - RenderMarkdownH3Bg = { bg = colors.base }, 121 - RenderMarkdownH4Bg = { bg = colors.base }, 122 - RenderMarkdownH5Bg = { bg = colors.base }, 113 + -- ๎Žฟ Noice 114 + NoiceScrollbar = { bg = colors.base }, 115 + NoiceScrollbarThumb = { bg = colors.overlay1 }, 123 116 124 - RenderMarkdownCodeInline = { bg = colors.mantle }, 125 - RenderMarkdownBullet = { fg = colors.text }, 117 + -- ๎œพ render_markdown -- 118 + RenderMarkdownH1Bg = { bg = colors.base }, 119 + RenderMarkdownH2Bg = { bg = colors.base }, 120 + RenderMarkdownH3Bg = { bg = colors.base }, 121 + RenderMarkdownH4Bg = { bg = colors.base }, 122 + RenderMarkdownH5Bg = { bg = colors.base }, 126 123 127 - -- ๎™Ž Markup -- 128 - ["@markup.quote"] = { fg = colors.pink }, 129 - ["@markup.raw.markdown_inline"] = { fg = colors.sky, bg = colors.surface0 }, 130 - ["@markup.strong.markdown_inline"] = { fg = colors.peach }, 131 - ["@markup.heading.git_config"] = { fg = colors.maroon }, 124 + RenderMarkdownCodeInline = { bg = colors.mantle }, 125 + RenderMarkdownBullet = { fg = colors.text }, 132 126 133 - ["@markup.heading.1.markdown"] = { fg = colors.sky }, 134 - ["@markup.heading.2.markdown"] = { fg = colors.sky }, 135 - ["@markup.heading.3.markdown"] = { fg = colors.sky }, 136 - ["@markup.heading.4.markdown"] = { fg = colors.sky }, 137 - ["@markup.heading.5.markdown"] = { fg = colors.sky }, 138 - ["@markup.heading.6.markdown"] = { fg = colors.sky }, 139 - ["@punctuation.special.markdown"] = { fg = colors.overlay2 }, 127 + -- ๎™Ž Markup -- 128 + ["@markup.quote"] = { fg = colors.pink }, 129 + ["@markup.raw.markdown_inline"] = { fg = colors.sky, bg = colors.surface0 }, 130 + ["@markup.strong.markdown_inline"] = { fg = colors.peach }, 131 + ["@markup.heading.git_config"] = { fg = colors.maroon }, 140 132 141 - -- ๎šฉ Zig Highlights -- 142 - ["@function.builtin.zig"] = { fg = colors.peach }, 143 - ["@lsp.type.enumMember.zig"] = { fg = colors.maroon }, 144 - ["@lsp.type.namespace.zig"] = { fg = colors.text, italic = false }, 145 - ["@lsp.type.parameter.zig"] = { fg = colors.lavender }, 146 - ["@lsp.type.property.zig"] = { fg = colors.text }, 147 - ["@lsp.type.struct.zig"] = { fg = colors.yellow }, 148 - ["@variable.parameter.zig"] = { fg = colors.yellow }, 133 + ["@markup.heading.1.markdown"] = { fg = colors.sky }, 134 + ["@markup.heading.2.markdown"] = { fg = colors.sky }, 135 + ["@markup.heading.3.markdown"] = { fg = colors.sky }, 136 + ["@markup.heading.4.markdown"] = { fg = colors.sky }, 137 + ["@markup.heading.5.markdown"] = { fg = colors.sky }, 138 + ["@markup.heading.6.markdown"] = { fg = colors.sky }, 139 + ["@punctuation.special.markdown"] = { fg = colors.overlay2 }, 149 140 150 - -- ๏€… Gleam Highlights -- 151 - ["@constant.builtin.gleam"] = { fg = colors.yellow }, 141 + -- ๎šฉ Zig Highlights -- 142 + ["@function.builtin.zig"] = { fg = colors.peach }, 143 + ["@lsp.type.enumMember.zig"] = { fg = colors.maroon }, 144 + ["@lsp.type.namespace.zig"] = { fg = colors.text, italic = false }, 145 + ["@lsp.type.parameter.zig"] = { fg = colors.lavender }, 146 + ["@lsp.type.property.zig"] = { fg = colors.text }, 147 + ["@lsp.type.struct.zig"] = { fg = colors.yellow }, 148 + ["@variable.parameter.zig"] = { fg = colors.yellow }, 152 149 153 - -- ๎˜† Python Highlights -- 154 - ["@string.documentation.python"] = { fg = colors.overlay1 }, 155 - ["@constructor.python"] = { fg = colors.yellow }, 156 - } 157 - end, 158 - }, 150 + -- ๎˜† Python Highlights -- 151 + ["@string.documentation.python"] = { fg = colors.overlay1 }, 152 + ["@constructor.python"] = { fg = colors.yellow }, 153 + } 154 + end, 155 + }, 159 156 }