🔒 Backup for my config files
dotfiles
0
fork

Configure Feed

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

add nvim plugins

Kacaii f6113404 6d93b776

+589
+4
.config/nvim/plugins/bufferline.lua
··· 1 + return { 2 + "akinsho/bufferline.nvim", 3 + opts = { options = { separator_style = "slant" } }, 4 + }
+19
.config/nvim/plugins/codesnap_nvim.lua
··· 1 + return { 2 + "mistricky/codesnap.nvim", 3 + opts = { 4 + show_line_number = true, 5 + snapshot_config = { 6 + themes_folders = "~/.config/codesnap/themes", 7 + background = "#00000000", 8 + theme = "catppuccin_mocha", 9 + watermark = { content = "" }, 10 + window = { mac_window_bar = true }, 11 + code_config = { 12 + breadcrumbs = { 13 + enabled = true, 14 + separator = "/", 15 + }, 16 + }, 17 + }, 18 + }, 19 + }
+159
.config/nvim/plugins/colorscheme.lua
··· 1 + local custom_bg = "#242438" 2 + 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. 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`) 15 + 16 + default_integrations = true, 17 + auto_integrations = true, 18 + 19 + dim_inactive = { enabled = false, shade = "dark", percentage = 0.15 }, 20 + 21 + no_italic = false, -- Force no italic 22 + no_bold = false, -- Force no bold 23 + no_underline = false, -- Force no underline 24 + 25 + highlight = { 26 + enable = true, 27 + additional_vim_regex_highlighting = false, 28 + }, 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 + }, 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 + }, 62 + 63 + custom_highlights = function(colors) 64 + return { 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 }, 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 }, 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 }, 88 + 89 + -- 󱐀 Completion -- 90 + Pmenu = { bg = colors.none }, 91 + PmenuSel = { fg = colors.text, bg = colors.surface0 }, 92 + BlinkCmpMenuBorder = { fg = colors.overlay1, bg = colors.base }, 93 + 94 + -- 󱐀 BlinkCmp -- 95 + BlinkCmpKindStruct = { fg = colors.yellow }, 96 + BlinkCmpKindEnum = { fg = colors.yellow }, 97 + BlinkCmpKindEnumMember = { fg = colors.peach }, 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 }, 107 + 108 + -- 󱥰 Snacks.input -- 109 + SnacksInputIcon = { fg = colors.text }, 110 + SnacksInputTitle = { fg = colors.text }, 111 + SnacksInputBorder = { fg = colors.text }, 112 + 113 + --  Noice 114 + NoiceScrollbar = { bg = colors.base }, 115 + NoiceScrollbarThumb = { bg = colors.overlay1 }, 116 + 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 }, 123 + 124 + RenderMarkdownCodeInline = { bg = colors.mantle }, 125 + RenderMarkdownBullet = { fg = colors.text }, 126 + 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 }, 132 + 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 }, 140 + 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 }, 149 + 150 + --  Gleam Highlights -- 151 + ["@constant.builtin.gleam"] = { fg = colors.yellow }, 152 + 153 + --  Python Highlights -- 154 + ["@string.documentation.python"] = { fg = colors.overlay1 }, 155 + ["@constructor.python"] = { fg = colors.yellow }, 156 + } 157 + end, 158 + }, 159 + }
+10
.config/nvim/plugins/conform_nvim.lua
··· 1 + return { 2 + "stevearc/conform.nvim", 3 + opts = { 4 + formatters = { sqlfluff = { args = { "format", "-" } } }, 5 + formatters_by_ft = { 6 + sql = { "sqlfluff" }, 7 + gleam = { "gleam", "rustywind" }, 8 + }, 9 + }, 10 + }
+99
.config/nvim/plugins/core.lua
··· 1 + return { 2 + "LazyVim/LazyVim", 3 + opts = { 4 + 5 + icons = { 6 + 7 + -- 󰩂 Diagnostics. 8 + diagnostics = { 9 + Error = " ", 10 + Warn = " ", 11 + Hint = " ", 12 + Info = "󱁯 ", 13 + }, 14 + 15 + --  Git Diff. 16 + git = { 17 + added = " ", 18 + modified = " ", 19 + removed = " ", 20 + }, 21 + 22 + --  Icons for Completion. 23 + kinds = { 24 + Enum = "󰈲 ", 25 + EnumMember = " ", 26 + Variable = " ", 27 + file = "", 28 + }, 29 + }, 30 + }, 31 + } 32 + 33 + -- icons = { 34 + -- misc = { 35 + -- dots = "󰇘", 36 + -- }, 37 + -- ft = { 38 + -- octo = "", 39 + -- }, 40 + -- dap = { 41 + -- Stopped = { "󰁕 ", "DiagnosticWarn", "DapStoppedLine" }, 42 + -- Breakpoint = " ", 43 + -- BreakpointCondition = " ", 44 + -- BreakpointRejected = { " ", "DiagnosticError" }, 45 + -- LogPoint = ".>", 46 + -- }, 47 + -- diagnostics = { 48 + -- Error = " ", 49 + -- Warn = " ", 50 + -- Hint = " ", 51 + -- Info = " ", 52 + -- }, 53 + -- git = { 54 + -- added = " ", 55 + -- modified = " ", 56 + -- removed = " ", 57 + -- }, 58 + -- kinds = { 59 + -- Array = " ", 60 + -- Boolean = "󰨙 ", 61 + -- Class = " ", 62 + -- Codeium = "󰘦 ", 63 + -- Color = " ", 64 + -- Control = " ", 65 + -- Collapsed = " ", 66 + -- Constant = "󰏿 ", 67 + -- Constructor = " ", 68 + -- Copilot = " ", 69 + -- Enum = " ", 70 + -- EnumMember = " ", 71 + -- Event = " ", 72 + -- Field = " ", 73 + -- File = " ", 74 + -- Folder = " ", 75 + -- Function = "󰊕 ", 76 + -- Interface = " ", 77 + -- Key = " ", 78 + -- Keyword = " ", 79 + -- Method = "󰊕 ", 80 + -- Module = " ", 81 + -- Namespace = "󰦮 ", 82 + -- Null = " ", 83 + -- Number = "󰎠 ", 84 + -- Object = " ", 85 + -- Operator = " ", 86 + -- Package = " ", 87 + -- Property = " ", 88 + -- Reference = " ", 89 + -- Snippet = " ", 90 + -- String = " ", 91 + -- Struct = "󰆼 ", 92 + -- Supermaven = " ", 93 + -- TabNine = "󰏚 ", 94 + -- Text = " ", 95 + -- TypeParameter = " ", 96 + -- Unit = " ", 97 + -- Value = " ", 98 + -- Variable = "󰀫 ", 99 + -- },
+5
.config/nvim/plugins/disable.lua
··· 1 + return { 2 + { "snacks.nvim", opts = { words = { enabled = false } } }, 3 + { "MeanderingProgrammer/render-markdown.nvim", enabled = false }, 4 + { "mistricky/codesnap.nvim", enabled = false }, 5 + }
+7
.config/nvim/plugins/linter.lua
··· 1 + return { 2 + "mfussenegger/nvim-lint", 3 + opts = { 4 + linters_by_ft = { sql = { "sqlfluff" } }, 5 + linters = { sqlfluff = { args = { "lint", "--format=json" } } }, 6 + }, 7 + }
+25
.config/nvim/plugins/lsp_config.lua
··· 1 + return { 2 + "neovim/nvim-lspconfig", 3 + opts = { 4 + servers = { 5 + sqlfluff = { filetypes = { "sql" } }, 6 + just = { filetypes = { "just", "justfile" }, cmd = { "just-lsp" } }, 7 + 8 + tailwindcss = { 9 + filetypes_include = { "gleam" }, 10 + settings = { 11 + tailwindCSS = { 12 + includeLanguages = { gleam = "javascript" }, 13 + experimental = { 14 + classRegex = { 15 + 'class\\(\\s*[\\r\\n]?\\s*"([^"]*)",?\\s*[\\r\\n]?\\s*\\)', 16 + "class\\(\\s*['\"]([^'\"]*)['\"]\\s*\\)", 17 + "#?\\(\\s*['\"]([^'\"]*)['\"]\\s*,\\s*[^\\)]*\\)", 18 + }, 19 + }, 20 + }, 21 + }, 22 + }, 23 + }, 24 + }, 25 + }
+9
.config/nvim/plugins/lualine.lua
··· 1 + return { 2 + "nvim-lualine/lualine.nvim", 3 + opts = { 4 + options = { 5 + section_separators = { left = "", right = "" }, 6 + component_separators = { left = "", right = "" }, 7 + }, 8 + }, 9 + }
+69
.config/nvim/plugins/mini_icons.lua
··· 1 + return { 2 + "nvim-mini/mini.icons", 3 + opts = { 4 + default = {}, 5 + filetype = {}, 6 + lsp = {}, 7 + os = {}, 8 + 9 + directory = { 10 + src = { hl = "MiniIconsOrange" }, 11 + sql = { glyph = "󱋣", hl = "MiniIconsYellow" }, 12 + priv = { glyph = "󰢬", hl = "MiniIconsRed" }, 13 + config = { glyph = "" }, 14 + plugins = { glyph = "󰉓" }, 15 + ["terminal-escape-codes"] = { glyph = "" }, 16 + }, 17 + 18 + extension = { 19 + ["zig.zon"] = { glyph = "", hl = "MiniIconsOrange" }, 20 + db = { glyph = "", hl = "MiniIconsBlue" }, 21 + dj = { glyph = "", hl = "MiniIconsWhite" }, 22 + fish = { glyph = "󰈺", hl = "MiniIconsGreen" }, 23 + gleam = { glyph = "" }, 24 + parquet = { glyph = "󱘩", hl = "MiniIconsGreen" }, 25 + php = { glyph = "" }, 26 + sqlite = { glyph = "", hl = "MiniIconsBlue" }, 27 + zig = { hl = "MiniIconsYellow" }, 28 + }, 29 + 30 + file = { 31 + 32 + --  Common files ------------------------------------------------------- 33 + ["README.md"] = { glyph = "󰂺", hl = "MiniIconsWhite" }, 34 + 35 + -- 󱁼 Config files ------------------------------------------------------- 36 + [".tmux.conf"] = { glyph = "", hl = "MiniIconsGreen" }, 37 + ["yazi.toml"] = { glyph = "󰇥", hl = "MiniIconsYellow" }, 38 + [".sqlfluff"] = { glyph = "", hl = "MiniIconsWhite" }, 39 + [".envrc"] = { glyph = "", hl = "MiniIconsYellow" }, 40 + ["justfile"] = { glyph = "", hl = "MiniIconsGrey" }, 41 + 42 + --  Deno Projects ------------------------------------------------------ 43 + ["deno.json"] = { glyph = "", hl = "MiniIconsOrange" }, 44 + ["deno.lock"] = { glyph = "", hl = "MiniIconsBlue" }, 45 + ["package.json"] = { glyph = "󰏓", hl = "MiniIconsOrange" }, 46 + 47 + --  Python Projects ---------------------------------------------------- 48 + ["poetry.lock"] = { glyph = "", hl = "MiniIconsBlue" }, 49 + 50 + -- 󰒲 Lazy Config Files -------------------------------------------------- 51 + ["colorscheme.lua"] = { glyph = "", hl = "MiniIconsPurple" }, 52 + ["core.lua"] = { glyph = "", hl = "MiniIconsGreen" }, 53 + ["disable.lua"] = { glyph = "", hl = "MiniIconsRed" }, 54 + ["keymaps.lua"] = { glyph = "󰌌", hl = "MiniIconsOrange" }, 55 + ["lazy.lua"] = { glyph = "󰒲", hl = "MiniIconsPurple" }, 56 + ["options.lua"] = { glyph = "", hl = "MiniIconsOrange" }, 57 + ["autocmds.lua"] = { glyph = "", hl = "MiniIconsOrange" }, 58 + ["blink-cmp.lua"] = { glyph = "󱐀", hl = "MiniIconsPurple" }, 59 + ["mini-icons.lua"] = { glyph = "", hl = "MiniIconsPurple" }, 60 + ["tmux-navigator.lua"] = { glyph = "", hl = "MiniIconsGreen" }, 61 + 62 + -- 󱐀 Code Snippets ------------------------------------------------------ 63 + ["terminal-colors.json"] = { glyph = "", hl = "MiniIconsBlue" }, 64 + ["terminal-cursor-controls.json"] = { glyph = "", hl = "MiniIconsBlue" }, 65 + ["terminal-general-ascii.json"] = { glyph = "", hl = "MiniIconsBlue" }, 66 + ["terminal-modes.json"] = { glyph = "", hl = "MiniIconsBlue" }, 67 + }, 68 + }, 69 + }
+27
.config/nvim/plugins/mini_surround.lua
··· 1 + return { 2 + { 3 + "nvim-mini/mini.surround", 4 + opts = { 5 + mappings = { 6 + add = ";;", 7 + delete = ";d", 8 + find = ";f", 9 + find_left = ";F", 10 + highlight = ";h", 11 + replace = ";r", 12 + update_n_lines = ";n", 13 + }, 14 + }, 15 + }, 16 + 17 + { 18 + "folke/flash.nvim", 19 + opts = { 20 + modes = { 21 + char = { 22 + keys = { "f", "F", "t", "T" }, 23 + }, 24 + }, 25 + }, 26 + }, 27 + }
+24
.config/nvim/plugins/neotest.lua
··· 1 + return { 2 + "nvim-neotest/neotest", 3 + dependencies = { 4 + "nvim-neotest/nvim-nio", 5 + "nvim-lua/plenary.nvim", 6 + "antoinemadec/FixCursorHold.nvim", 7 + "nvim-treesitter/nvim-treesitter", 8 + }, 9 + 10 + opts = { 11 + status = { virtual_text = true }, 12 + output = { open_on_run = false }, 13 + floating = { border = "single" }, 14 + 15 + adapters = { 16 + --  Python 17 + require("neotest-python")({ 18 + dap = { justMyCode = false }, 19 + runner = "pytest", 20 + args = { "--log-level", "DEBUG" }, 21 + }), 22 + }, 23 + }, 24 + }
+4
.config/nvim/plugins/noice.lua
··· 1 + return { 2 + "folke/noice.nvim", 3 + opts = { presets = { lsp_doc_border = true } }, 4 + }
+11
.config/nvim/plugins/quicker.lua
··· 1 + return { 2 + "stevearc/quicker.nvim", 3 + ft = "qf", 4 + ---@module "quicker" 5 + ---@type quicker.SetupOptions 6 + opts = { 7 + buflisted = true, 8 + number = true, 9 + borders = { vert = " " }, 10 + }, 11 + }
+20
.config/nvim/plugins/snacks.lua
··· 1 + return { 2 + "folke/snacks.nvim", 3 + opts = { 4 + picker = { layout = "dropdown" }, 5 + input = { 6 + icon = "", 7 + win = { 8 + width = 20, 9 + relative = "cursor", 10 + row = -3, 11 + col = 0, 12 + }, 13 + }, 14 + indent = { 15 + only_scope = true, 16 + scope = { enabled = true, hl = "Comment" }, 17 + animate = { style = "down", easing = "inOutCirc" }, 18 + }, 19 + }, 20 + }
+20
.config/nvim/plugins/snacks_dashboard.lua
··· 1 + return { 2 + "snacks.nvim", 3 + opts = { 4 + dashboard = { 5 + preset = { 6 + header = [[ 7 + ▄████████ ▄██ ▄ ▄████████ ▄████████ ▄████████ 8 + ███ ███ ███ ██▄ ███ ███ ███ ███ ███ ███ 9 + ███ ███ ███▄▄▄███ ███ ███ ███ █▀ ███ █▀ 10 + ███ ███ ▀▀▀▀▀▀███ ▄███▄▄▄▄██▀ ▄███▄▄▄ ███ 11 + ▀███████████ ▄██ ███ ▀▀███▀▀▀▀▀ ▀▀███▀▀▀ ▀███████████ 12 + ███ ███ ███ ███ ▀███████████ ███ █▄ ███ 13 + ███ ███ ███ ███ ███ ███ ███ ███ ▄█ ███ 14 + ███ █▀ ▀█████▀ ███ ███ ██████████ ▄████████▀ 15 + ███ ███ 16 + ]], 17 + }, 18 + }, 19 + }, 20 + }
+18
.config/nvim/plugins/tiny_inline_diagnostic.lua
··· 1 + return { 2 + { 3 + "rachartier/tiny-inline-diagnostic.nvim", 4 + event = "VeryLazy", 5 + priority = 1000, 6 + opts = { 7 + preset = "minimal", 8 + options = { 9 + add_messages = { display_count = true }, 10 + multilines = { enabled = true }, 11 + }, 12 + }, 13 + }, 14 + { 15 + "neovim/nvim-lspconfig", 16 + opts = { diagnostics = { virtual_text = false } }, 17 + }, 18 + }
+17
.config/nvim/plugins/tmux_navigator.lua
··· 1 + return { 2 + "christoomey/vim-tmux-navigator", 3 + cmd = { 4 + "TmuxNavigateLeft", 5 + "TmuxNavigateDown", 6 + "TmuxNavigateUp", 7 + "TmuxNavigateRight", 8 + "TmuxNavigatePrevious", 9 + }, 10 + keys = { 11 + { "<c-h>", "<cmd><C-U>TmuxNavigateLeft<cr>" }, 12 + { "<c-j>", "<cmd><C-U>TmuxNavigateDown<cr>" }, 13 + { "<c-k>", "<cmd><C-U>TmuxNavigateUp<cr>" }, 14 + { "<c-l>", "<cmd><C-U>TmuxNavigateRight<cr>" }, 15 + { "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>" }, 16 + }, 17 + }
+26
.config/nvim/plugins/todo_comments.lua
··· 1 + --- Useful for storing the hexadeximal values 2 + local Mocha = { 3 + Blue = "#89b4fa", 4 + Flamingo = "#f2cdcd", 5 + Green = "#a6e3a1", 6 + Lavender = "#b4befe", 7 + Mauve = "#cba6f7", 8 + Peach = "#fab387", 9 + Pink = "#f5c2e7", 10 + Red = "#f38ba8", 11 + Text = "#cdd6f4", 12 + Yellow = "#f9e2af", 13 + } 14 + 15 + return { 16 + "folke/todo-comments.nvim", 17 + dependencies = { "nvim-lua/plenary.nvim" }, 18 + opts = { 19 + keywords = { 20 + CAUTION = { icon = "󰒡", color = Mocha.Red }, 21 + NOTE = { icon = "", color = Mocha.Text }, 22 + TEST = { icon = "󰙨", color = Mocha.Mauve }, 23 + TODO = { icon = "󱨰", color = Mocha.Blue }, 24 + }, 25 + }, 26 + }
+6
.config/nvim/plugins/which_key.lua
··· 1 + return { 2 + "folke/which-key.nvim", 3 + opts = { 4 + preset = "helix", 5 + }, 6 + }