diff --git a/.config/nvim/lazy-lock.json b/.config/nvim/lazy-lock.json index 2439d2b..192f34b 100644 --- a/.config/nvim/lazy-lock.json +++ b/.config/nvim/lazy-lock.json @@ -1,67 +1,69 @@ { - "LazyVim": { "branch": "main", "commit": "879e29504d43e9f178d967ecc34d482f902e5a91" }, - "LuaSnip": { "branch": "master", "commit": "82108e7e31cc6fc223cc5df5cae6d89f70bb199f" }, - "SchemaStore.nvim": { "branch": "main", "commit": "fcb1522fefd0f9029b7dc71aa2664d2d0ead0fb3" }, - "bufferline.nvim": { "branch": "main", "commit": "e48ce1805697e4bb97bc171c081e849a65859244" }, - "catppuccin": { "branch": "main", "commit": "5e36ca599f4aa41bdd87fbf2c5aae4397ac55074" }, + "LazyVim": { "branch": "main", "commit": "fe72424e77cb9c953084bbcaaa0eb7fe8056dc70" }, + "LuaSnip": { "branch": "master", "commit": "a7a4b4682c4b3e2ba82b82a4e6e5f5a0e79dec32" }, + "SchemaStore.nvim": { "branch": "main", "commit": "ebe6fe2e78c19a0cf6e82752ab6f3ac55c35ef99" }, + "bufferline.nvim": { "branch": "main", "commit": "b15c6daf5a64426c69732b31a951f4e438cb6590" }, + "catppuccin": { "branch": "main", "commit": "c0de3b46811fe1ce3912e2245a9dfbea6b41c300" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-emoji": { "branch": "main", "commit": "19075c36d5820253d32e2478b6aaf3734aeaafa0" }, "cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "colorbuddy.nvim": { "branch": "master", "commit": "cdb5b0654d3cafe61d2a845e15b2b4b0e78e752a" }, - "conform.nvim": { "branch": "master", "commit": "75e7c5c7eb5fbd53f8b12dc420b31ec70770b231" }, + "conform.nvim": { "branch": "master", "commit": "34b81e70da83e26c048290204de44268eb59814e" }, "copilot-cmp": { "branch": "master", "commit": "72fbaa03695779f8349be3ac54fa8bd77eed3ee3" }, - "copilot.lua": { "branch": "master", "commit": "b03617a6dc4bc88b65ab5deac1631da9a9c2dcaf" }, - "dashboard-nvim": { "branch": "master", "commit": "63df28409d940f9cac0a925df09d3dc369db9841" }, - "dressing.nvim": { "branch": "master", "commit": "94b0d24483d56f3777ee0c8dc51675f21709318c" }, - "friendly-snippets": { "branch": "main", "commit": "69a2c1675b66e002799f5eef803b87a12f593049" }, - "gitsigns.nvim": { "branch": "main", "commit": "3e6e91b09f0468c32d3b96dcacf4b947f037ce25" }, - "indent-blankline.nvim": { "branch": "master", "commit": "3c8a185da4b8ab7aef487219f5e001b11d4b6aaf" }, - "lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" }, - "lualine.nvim": { "branch": "master", "commit": "566b7036f717f3d676362742630518a47f132fff" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "0989bdf4fdf7b5aa4c74131d7ffccc3f399ac788" }, - "mason-nvim-dap.nvim": { "branch": "main", "commit": "3614a39aae98ccd34124b072939d6283853b3dd2" }, - "mason.nvim": { "branch": "main", "commit": "e110bc3be1a7309617cecd77bfe4bf86ba1b8134" }, - "mini.ai": { "branch": "main", "commit": "f7787cff9cc42004f722ca1e64e6af4e64e34177" }, - "mini.bufremove": { "branch": "main", "commit": "020243bfed8c8b941f2c20626faf3ea39c0c0e1b" }, - "mini.comment": { "branch": "main", "commit": "67f00d3ebbeae15e84584d971d0c32aad4f4f3a4" }, - "mini.indentscope": { "branch": "main", "commit": "5a8369475cd7cd6f207a4d288406d03b0fc48bdb" }, - "mini.surround": { "branch": "main", "commit": "7bf8915ba15d7a4f3c2afe7868d3c15a858d73f1" }, - "neo-tree.nvim": { "branch": "v3.x", "commit": "77d9f484b88fd380386b46ed9206e5374d69d9d8" }, - "neoconf.nvim": { "branch": "main", "commit": "64437787dba70fce50dad7bfbb97d184c5bc340f" }, - "neodev.nvim": { "branch": "main", "commit": "be8d4d4cab6c13c6a572269c9d6a63774baba9a0" }, - "noice.nvim": { "branch": "main", "commit": "92433164e2f7118d4122c7674c3834d9511722ba" }, - "none-ls.nvim": { "branch": "main", "commit": "fbdcbf8e152529af846b3a333f039751829b84c2" }, - "nui.nvim": { "branch": "main", "commit": "35da9ca1de0fc4dda96c2e214d93d363c145f418" }, - "nvim-cmp": { "branch": "main", "commit": "538e37ba87284942c1d76ed38dd497e54e65b891" }, - "nvim-dap": { "branch": "master", "commit": "aad46274f09ba29933e4cef2257cdda5ec19cf7a" }, - "nvim-dap-go": { "branch": "main", "commit": "a5cc8dcad43f0732585d4793deb02a25c4afb766" }, - "nvim-dap-ui": { "branch": "master", "commit": "7e5e16427aaf814dc2d58e1b219def9ef2fa2435" }, + "copilot.lua": { "branch": "master", "commit": "f7612f5af4a7d7615babf43ab1e67a2d790c13a6" }, + "crates.nvim": { "branch": "main", "commit": "ec2b04a380c9f3a8e6ca38c230e4990d71978143" }, + "dashboard-nvim": { "branch": "master", "commit": "413442b12d85315fc626c44a0ce4929b213ef604" }, + "dressing.nvim": { "branch": "master", "commit": "6f212262061a2120e42da0d1e87326e8a41c0478" }, + "friendly-snippets": { "branch": "main", "commit": "dcd4a586439a1c81357d5b9d26319ae218cc9479" }, + "gitsigns.nvim": { "branch": "main", "commit": "2c2463dbd82eddd7dbab881c3a62cfbfbe3c67ae" }, + "indent-blankline.nvim": { "branch": "master", "commit": "821a7acd88587d966f7e464b0b3031dfe7f5680c" }, + "lazy.nvim": { "branch": "main", "commit": "28126922c9b54e35a192ac415788f202c3944c9f" }, + "lualine.nvim": { "branch": "master", "commit": "7d131a8d3ba5016229e8a1d08bf8782acea98852" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "21d33d69a81f6351e5a5f49078b2e4f0075c8e73" }, + "mason-nvim-dap.nvim": { "branch": "main", "commit": "67210c0e775adec55de9826b038e8b62de554afc" }, + "mason.nvim": { "branch": "main", "commit": "3b5068f0fc565f337d67a2d315d935f574848ee7" }, + "mini.ai": { "branch": "main", "commit": "ee9446a17c160aba6a04ff22097389c41872c878" }, + "mini.bufremove": { "branch": "main", "commit": "931a3bb514147d9e812767275c4beba6b779b1d3" }, + "mini.comment": { "branch": "main", "commit": "a4b7e46deb9ad2feb8902cc5dbf087eced112ee5" }, + "mini.indentscope": { "branch": "main", "commit": "cf07f19e718ebb0bcc5b00999083ce11c37b8d40" }, + "mini.surround": { "branch": "main", "commit": "a1b590cc3b676512de507328d6bbab5e43794720" }, + "neo-tree.nvim": { "branch": "v3.x", "commit": "f3941c57ec85d7bdb44fa53fd858fd80f159018f" }, + "neoconf.nvim": { "branch": "main", "commit": "8d7150e9d6113f01421c34c5aeb0f586afa232e0" }, + "neodev.nvim": { "branch": "main", "commit": "84e0290f5600e8b89c0dfcafc864f45496a53400" }, + "noice.nvim": { "branch": "main", "commit": "bf67d70bd7265d075191e7812d8eb42b9791f737" }, + "none-ls.nvim": { "branch": "main", "commit": "ff3819c52ca04232fb70fbd6c1639de9abcbe122" }, + "nui.nvim": { "branch": "main", "commit": "b81333d12f824dbed5eb231c8a4409a290fdd848" }, + "nvim-cmp": { "branch": "main", "commit": "04e0ca376d6abdbfc8b52180f8ea236cbfddf782" }, + "nvim-dap": { "branch": "master", "commit": "fc880e82059eb21c0fa896be60146e5f17680648" }, + "nvim-dap-go": { "branch": "main", "commit": "64f73400761e2d19459e664a52ea478f3a4420e7" }, + "nvim-dap-ui": { "branch": "master", "commit": "9720eb5fa2f41988e8770f973cd11b76dd568a5d" }, "nvim-dap-virtual-text": { "branch": "master", "commit": "d4542ac257d3c7ee4131350db6179ae6340ce40b" }, - "nvim-lint": { "branch": "master", "commit": "8df53b5dde8ea80f0a039775777eae6648a10229" }, - "nvim-lspconfig": { "branch": "master", "commit": "796394fd19fb878e8dbc4fd1e9c9c186ed07a5f4" }, + "nvim-lint": { "branch": "master", "commit": "e824adb9bc01647f71e55457353a68f0f37f9931" }, + "nvim-lspconfig": { "branch": "master", "commit": "c932a56bf25167b1e88d2a1ebe35bb774b41019a" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-noirbuddy": { "branch": "master", "commit": "131b032debf1d9aebd096f41bb3fb7b9e1545b7c" }, - "nvim-notify": { "branch": "master", "commit": "1576123bff3bed67bc673a3076e591abfe5d8ca9" }, - "nvim-spectre": { "branch": "master", "commit": "d8906855f1949ac97b1e77aaf8d3fe12ed158ddc" }, - "nvim-treesitter": { "branch": "master", "commit": "8cd2b230174efbf7b5d9f49fe2f90bda6b5eb16e" }, - "nvim-treesitter-context": { "branch": "master", "commit": "400a99ad43ac78af1148061da3491cba2637ad29" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "85b9d0cbd4ff901abcda862b50dbb34e0901848b" }, - "nvim-ts-autotag": { "branch": "main", "commit": "8515e48a277a2f4947d91004d9aa92c29fdc5e18" }, - "nvim-ts-context-commentstring": { "branch": "main", "commit": "1277b4a1f451b0f18c0790e1a7f12e1e5fdebfee" }, - "nvim-web-devicons": { "branch": "master", "commit": "db0c864375c198cacc171ff373e76bfce2a85045" }, - "persistence.nvim": { "branch": "main", "commit": "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" }, - "plenary.nvim": { "branch": "master", "commit": "55d9fe89e33efd26f532ef20223e5f9430c8b0c0" }, - "sqlite.lua": { "branch": "master", "commit": "b7e28c8463254c46a8e61c52d27d6a2040492fc3" }, + "nvim-notify": { "branch": "master", "commit": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15" }, + "nvim-spectre": { "branch": "master", "commit": "3712ff0cdf4f9f877d9ca708d835a877d9a0abaf" }, + "nvim-treesitter": { "branch": "master", "commit": "63ca90eaa3ce1cc668add8828a9e3d6728dbbdf1" }, + "nvim-treesitter-context": { "branch": "master", "commit": "b8d1ffe58a88e0356da56b167373e89c4579ce15" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "95933e762e28f9d38b572d65e7e4da9d2f4d90cb" }, + "nvim-ts-autotag": { "branch": "main", "commit": "531f48334c422222aebc888fd36e7d109cb354cd" }, + "nvim-ts-context-commentstring": { "branch": "main", "commit": "7ab799a9792f7cf3883cf28c6a00ad431f3d382a" }, + "nvim-web-devicons": { "branch": "master", "commit": "4adea17610d140a99c313e3f79a9dc01825d59ae" }, + "persistence.nvim": { "branch": "main", "commit": "4982499c1636eac254b72923ab826ee7827b3084" }, + "plenary.nvim": { "branch": "master", "commit": "4f71c0c4a196ceb656c824a70792f3df3ce6bb6d" }, + "rasmus.nvim": { "branch": "main", "commit": "f824de95d446686e479781c0c2b778c177da528f" }, + "rust-tools.nvim": { "branch": "master", "commit": "676187908a1ce35ffcd727c654ed68d851299d3e" }, + "sqlite.lua": { "branch": "master", "commit": "40701b6151f8883980c1548647116de39b763540" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" }, - "telescope.nvim": { "branch": "master", "commit": "4367e05c06d19f28c514e1498bcd9410f4bc65b2" }, - "todo-comments.nvim": { "branch": "main", "commit": "4a6737a8d70fe1ac55c64dfa47fcb189ca431872" }, - "tokyonight.nvim": { "branch": "main", "commit": "f247ee700b569ed43f39320413a13ba9b0aef0db" }, + "telescope.nvim": { "branch": "master", "commit": "aa83606299c5beeaf80e656efbf07bde258db7be" }, + "todo-comments.nvim": { "branch": "main", "commit": "833d8dd8b07eeda37a09e99460f72a02616935cb" }, + "tokyonight.nvim": { "branch": "main", "commit": "610179f7f12db3d08540b6cc61434db2eaecbcff" }, "trouble.nvim": { "branch": "main", "commit": "f1168feada93c0154ede4d1fe9183bf69bac54ea" }, - "vim-illuminate": { "branch": "master", "commit": "3bd2ab64b5d63b29e05691e624927e5ebbf0fb86" }, - "vim-startuptime": { "branch": "master", "commit": "454b3de856b7bd298700de33d79774ca9b9e3875" }, + "vim-illuminate": { "branch": "master", "commit": "305bf07b919ac526deb5193280379e2f8b599926" }, + "vim-startuptime": { "branch": "master", "commit": "308b0088a864c4711a96e45b6734cf9294074f65" }, "which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" }, - "yaml-companion.nvim": { "branch": "main", "commit": "4de1e1546abc461f62dee02fcac6a02debd6eb9e" }, - "yanky.nvim": { "branch": "main", "commit": "6bb9ffd3cad4c9876bda54e19d0659de28a4f84f" } + "yanky.nvim": { "branch": "main", "commit": "7c5cbf0122ff2dfbb6a92f14885894f65949cc8b" } } \ No newline at end of file diff --git a/.config/nvim/lua/config/lazy.lua b/.config/nvim/lua/config/lazy.lua index 31ca937..b4773e7 100644 --- a/.config/nvim/lua/config/lazy.lua +++ b/.config/nvim/lua/config/lazy.lua @@ -32,7 +32,7 @@ require("lazy").setup({ version = false, -- always use the latest git commit -- version = "*", -- try installing the latest stable version for plugins that support semver }, - install = { colorscheme = { "noirbuddy", "tokyonight", "habamax" } }, + install = { colorscheme = { "eyes" } }, checker = { enabled = true }, -- automatically check for plugin updates performance = { rtp = { diff --git a/.config/nvim/lua/config/options.lua b/.config/nvim/lua/config/options.lua index 3e0ab0f..3426dee 100644 --- a/.config/nvim/lua/config/options.lua +++ b/.config/nvim/lua/config/options.lua @@ -5,7 +5,7 @@ local opt = vim.opt opt.relativenumber = false -opt.clipboard = "" +opt.clipboard = "unnamedplus" vim.g.do_filetype_lua = 1 diff --git a/.config/nvim/lua/plugins/colorscheme.lua b/.config/nvim/lua/plugins/colorscheme.lua index c569cd1..9ad67d2 100644 --- a/.config/nvim/lua/plugins/colorscheme.lua +++ b/.config/nvim/lua/plugins/colorscheme.lua @@ -1,4 +1,21 @@ return { + { + "kvrohit/rasmus.nvim", + dependencies = { + { "tjdevries/colorbuddy.nvim" }, + }, + lazy = false, + priority = 1000, + config = function() + vim.g.rasmus_variant = "monochrome" + vim.g.rasmus_bold_functions = true + vim.g.rasmus_bold_comments = false + vim.g.rasmus_italic_comments = true + vim.g.rasmus_transparent = true + + -- vim.cmd("colorscheme rasmus") + end, + }, { "jesseleite/nvim-noirbuddy", @@ -12,7 +29,6 @@ return { { "LazyVim/LazyVim", opts = { - -- colorscheme = "noirbuddy", colorscheme = function() require("noirbuddy").setup({ preset = "slate", @@ -25,57 +41,44 @@ return { colors = { -- background = "#0d1219", background = "#11171d", - primary = "#FFECB3", + -- background = "#1e2835", + primary = "#FFECD3", secondary = "#B0BEC5", - + -- diagnostic_info = "#00d992", diagnostic_hint = "#00d992", }, }) - + -- local Color, colors, Group, groups, styles = require("colorbuddy").setup() Color.new("string", "#D7CCC8") Color.new("symbol", "#ECEFF1") -- Color.new("comment", "#E57373", nil, styles.italic) Color.new("hlargs", "#FFF8E1") - + -- Color.new("illuminate_bg", "#112210") Color.new("illuminate_fg", "#00d992") - + -- -- Color.new("search_bg", "#554411") -- Color.new("search_fg", "#FFF0C0") -- Color.new("search_bg", "#223311") Color.new("search_fg", "#CCFF33") - - Color.new("IndentBlanklineIndent5", "#E06C75", styles.nocombine) - Color.new("IndentBlanklineIndent6", "#E5C07B", styles.nocombine) - Color.new("IndentBlanklineIndent3", "#98C379", styles.nocombine) - Color.new("IndentBlanklineIndent4", "#56B6C2", styles.nocombine) - Color.new("IndentBlanklineIndent1", "#61AFEF", styles.nocombine) - Color.new("IndentBlanklineIndent2", "#C678DD", styles.nocombine) - Group.new("IndentBlanklineIndent1", colors.IndentBlanklineIndent1:dark(0.2)) - Group.new("IndentBlanklineIndent2", colors.IndentBlanklineIndent2:dark(0.2)) - Group.new("IndentBlanklineIndent3", colors.IndentBlanklineIndent3:dark(0.2)) - Group.new("IndentBlanklineIndent4", colors.IndentBlanklineIndent4:dark(0.2)) - Group.new("IndentBlanklineIndent5", colors.IndentBlanklineIndent5:dark(0.2)) - Group.new("IndentBlanklineIndent6", colors.IndentBlanklineIndent6:dark(0.2)) - - Color.new("IndentBlanklineContextChar", "#00a972", styles.nocombine) - Group.new("IndentBlanklineContextChar", colors.IndentBlanklineContextChar) - + -- Color.new("MiniIndentscopeSymbol", "#00d992") Group.new("MiniIndentscopeSymbol", colors.MiniIndentscopeSymbol) - + -- Color.new("CursorFg", "#000000", styles.nocombine) Color.new("CursorBg", "#00d992", styles.nocombine) Group.new("Cursor", colors.CursorFg, colors.CursorBg) - + Color.new("CursorLine", "#141b23") + Group.new("CursorLine", nil, colors.CursorLine) + -- Color.new("NavicTextFg", "#5fbf9f") Color.new("NavicTextBg", "#333333") Color.new("NavicIcon", "#5fbf9f") - + -- Group.new("NavicText", colors.NavicTextFg, colors.NavicTextBg) Group.new("NavicIcon", colors.NavicIcon, colors.NavicTextBg) Group.link("NavicIconsFile", groups.NavicIcon) @@ -104,11 +107,11 @@ return { Group.link("NavicIconsEvent", groups.NavicIcon) Group.link("NavicIconsOperator", groups.NavicIcon) Group.link("NavicIconsTypeParameter", groups.NavicIcon) - + -- Color.new("NormalFloatFg", "#b8d1ef", styles.nocombine) Color.new("NormalFloatBg", "#335a88", styles.nocombine) Group.new("NormalFloat", colors.NormalFloatFg, colors.NormalFloatBg) - + -- Color.new("PmenuSelFg", "#f3d390", styles.nocombine) Color.new("PmenuSelBg", "#335a88", styles.nocombine) Group.new("PmenuSel", colors.PmenuSelFg, colors.PmenuSelBg) @@ -118,40 +121,40 @@ return { -- Group.new("TroubleNormal", colors.TroubleFg, colors.TroubleBg) -- Group.link("TroubleText", groups.TroubleNormal) -- Group.link("TroubleSource", groups.TroubleNormal) - + -- Color.new("Error", "#ffce60", styles.nocombine) Group.new("ErrorMsg", colors.Error) - + -- Color.new("FlashLabelFg", "#220011") Color.new("FlashLabelBg", "#EA1199") Group.new("FlashLabel", colors.FlashLabelFg, colors.FlashLabelBg) - + -- Group.new("TelescopeTitle", colors.primary) Group.new("TelescopeBorder", colors.secondary) Group.new("@comment", colors.comment, nil, styles.italic) Group.new("@string", colors.string, nil, styles.italic) - + -- Group.new("@keyword", colors.noir_2) Group.new("@keyword.function", colors.noir_2) Group.new("@keyword.return", colors.noir_1) - + -- Group.new("@operator", colors.noir_1) Group.new("@keyword.operator", colors.noir_1) -- Group.new("Hlargs", colors.noir_3, nil, styles.italic) Group.new("@type.builtin", colors.noir_2) - + -- Group.new("@variable", colors.symbol, nil, styles.italic) Group.new("Hlargs", colors.hlargs, nil, styles.italic) - + -- Group.new("@function", colors.noir_1, nil, styles.bold) Group.new("@method", colors.noir_1, nil, styles.bold) - + -- Group.new("@punctuation", colors.noir_4) Group.new("@punctuation.bracket", colors.noir_4) Group.new("@punctuation.delimiter", colors.noir_4) - + -- Group.new("IlluminatedWordText", colors.illuminate_fg, colors.illuminate_bg) - + -- Group.new("Search", colors.search_fg, colors.search_bg, styles.italic + styles.undercurl) Group.new("IncSearch", colors.search_fg, colors.search_bg) end, diff --git a/.config/nvim/lua/plugins/lsp.lua b/.config/nvim/lua/plugins/lsp.lua index a95915f..db126a3 100644 --- a/.config/nvim/lua/plugins/lsp.lua +++ b/.config/nvim/lua/plugins/lsp.lua @@ -12,6 +12,36 @@ return { }, ---@type lspconfig.options servers = { + rust_analyzer = { + keys = { + { "K", "RustHoverActions", desc = "Hover Actions (Rust)" }, + { "cR", "RustCodeAction", desc = "Code Action (Rust)" }, + { "dr", "RustDebuggables", desc = "Run Debuggables (Rust)" }, + }, + settings = { + ["rust-analyzer"] = { + cargo = { + allFeatures = true, + loadOutDirsFromCheck = true, + runBuildScripts = true, + }, + -- Add clippy lints for Rust. + checkOnSave = { + allFeatures = true, + command = "clippy", + extraArgs = { "--no-deps" }, + }, + procMacro = { + enable = true, + ignored = { + ["async-trait"] = { "async_trait" }, + ["napi-derive"] = { "napi" }, + ["async-recursion"] = { "async_recursion" }, + }, + }, + }, + }, + }, yamlls = { settings = { yaml = { diff --git a/.config/nvim/lua/plugins/ui.lua b/.config/nvim/lua/plugins/ui.lua index 20f2641..ab6dcb4 100644 --- a/.config/nvim/lua/plugins/ui.lua +++ b/.config/nvim/lua/plugins/ui.lua @@ -1,6 +1,27 @@ +local hooks = require("ibl.hooks") +-- create the highlight groups in the highlight setup hook, so they are reset +-- every time the colorscheme changes +hooks.register(hooks.type.HIGHLIGHT_SETUP, function() + local Color, colors, Group, groups, styles = require("colorbuddy").setup() + Color.new("IndentBlanklineIndent", "#1e2835", styles.nocombine) + Group.new("IndentBlanklineIndent1", colors.IndentBlanklineIndent:light(0.1)) + Group.new("IndentBlanklineIndent2", colors.IndentBlanklineIndent:light(0.15)) + Group.new("IndentBlanklineIndent3", colors.IndentBlanklineIndent:light(0.2)) + Group.new("IndentBlanklineIndent4", colors.IndentBlanklineIndent:light(0.25)) + Group.new("IndentBlanklineIndent5", colors.IndentBlanklineIndent:light(0.3)) + Group.new("IndentBlanklineIndent6", colors.IndentBlanklineIndent:light(0.35)) + + Color.new("IndentBlanklineContextChar", "#f0a972", styles.nocombine) + Group.new("IndentBlanklineContextChar", colors.IndentBlanklineContextChar) +end) + return { { "lukas-reineke/indent-blankline.nvim", + dependencies = { + { "tjdevries/colorbuddy.nvim" }, + }, + main = "ibl", opts = { indent = { char = "┊", @@ -29,4 +50,43 @@ return { }, }, }, + + { + "rcarriga/nvim-notify", + opts = { + timeout = 1500, + background_colour = "#1e2835", + }, + }, + + { + "nvim-lualine/lualine.nvim", + dependencies = { + "jesseleite/nvim-noirbuddy", + "nvim-tree/nvim-web-devicons", + }, + config = function() + -- Option 1: + local noirbuddy_lualine = require("noirbuddy.plugins.lualine") + + local theme = noirbuddy_lualine.theme + -- optional, you can define those yourself if you need + local sections = noirbuddy_lualine.sections + local inactive_sections = noirbuddy_lualine.inactive_sections + + require("lualine").setup({ + options = { + icons_enabled = true, + theme = theme, + filetype = { colored = false }, + component_separators = { left = "", right = "" }, + section_separators = { left = "", right = "" }, + disabled_filetypes = {}, + always_divide_middle = true, + }, + sections = sections, + inactive_sections = inactive_sections, + }) + end, + }, }