Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

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

Fixes for nvim

+31 -16
+1 -7
nvim/init.lua
··· 4 4 -- These need to happend before we load plugins 5 5 -- Load Plugins 6 6 require("plugins") 7 - -- Color Scheme 8 - vim.cmd.colorscheme "noirbuddy" 9 - -- vim.cmd([[colorscheme kanagawa]]) 10 7 -- Config for Nord, which I usually use 11 8 -- vim.g.nord_italic = false 12 9 -- vim.g.nord_bold = false ··· 27 24 vim.opt.relativenumber = false 28 25 -- I don't like word wrapping 29 26 vim.opt.wrap = false 30 - vim.opt.mouse = vim.opt.mouse - "a" 31 - -- TODO: revisit this 32 - --vim.opt.foldlevelstart = 20 33 - --vim.opt.conceallevel = 3 34 27 -- Show whitespace as dots 35 28 vim.opt.lcs = vim.opt.lcs + "space:·" 36 29 vim.opt.list = true ··· 113 106 114 107 -- Toggle Line Numbers 115 108 keymap("n", "<leader>n", "<cmd>set number! number?<CR>", silentnoremap) 109 + keymap("n", "<leader>N", "<cmd>set relativenumber! relativenumber?<CR>", silentnoremap) 116 110 117 111 -- Edit this file 118 112 keymap("n", "<leader>ec", "<cmd>e $MYVIMRC<CR>", silentnoremap)
+30 -9
nvim/lua/plugins.lua
··· 44 44 priority = 1000, 45 45 opts = { 46 46 -- All of your `setup(opts)` will go here 47 - preset = "slate", 47 + preset = "oxide", 48 + colors = { 49 + noir_8 = "#3A4649" 50 + } 48 51 }, 49 52 }, 50 53 -- Completion ··· 146 149 }, 147 150 { 148 151 "nvim-lualine/lualine.nvim", 149 - config = true, 150 - dependencies = { "nvim-tree/nvim-web-devicons" } 152 + config = function(_spec, _opt) 153 + local noirbuddy_lualine = require("noirbuddy.plugins.lualine") 154 + require("lualine").setup { 155 + options = { 156 + icons_enabled = true, 157 + -- when not using noirbuddy, uncomment this 158 + --theme = "auto" 159 + theme = noirbuddy_lualine.theme 160 + }, 161 + sections = noirbuddy_lualine.sections, 162 + inactive_sections = noirbuddy_lualine.inactive_sections, 163 + } 164 + end, 165 + dependencies = { "nvim-tree/nvim-web-devicons", "jesseleite/nvim-noirbuddy" } 151 166 }, 152 167 -- Fuzzy finding stuff 153 168 "junegunn/fzf.vim", ··· 371 386 ft = { "rust" } 372 387 }, -- RISC-V Assembly syntax highlighting 373 388 { "kylelaker/riscv.vim", ft = "riscv" }, -- Hare Stuff 389 + -- Hare stuff 374 390 -- Haredoc 375 391 { 376 392 url = "https://git.sr.ht/~torresjrjr/vim-haredoc", 377 393 lazy = true, 378 394 ft = { "hare" }, 379 395 branch = "dev" 380 - }, -- Hare.vim 381 - { url = "https://git.sr.ht/~sircmpwn/hare.vim", ft = { "hare" } }, -- TCL 382 - { "lewis6991/tree-sitter-tcl", lazy = true, build = "make" }, -- LF 383 - { "ptzz/lf.vim", lazy = true, cmd = { "Lf" }, 384 - dependencies = { 385 - "voldikss/vim-floaterm" } }, 396 + }, 397 + { url = "https://git.sr.ht/~sircmpwn/hare.vim", ft = { "hare" } }, 398 + -- TCL 399 + { "lewis6991/tree-sitter-tcl", lazy = true, build = "make" }, 400 + -- LF 401 + { 402 + "ptzz/lf.vim", 403 + lazy = true, 404 + cmd = { "Lf" }, 405 + dependencies = { "voldikss/vim-floaterm" } 406 + }, 386 407 -- SuperMaven, another AI coding tool 387 408 { 388 409 "supermaven-inc/supermaven-nvim",