dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

commit b6279072471b605b21e78c9c6b80e7284d598fda
parent 5619271060851a687fa098a7e6fea655a9beb277
Author: pyratebeard <root@pyratebeard.net>
Date:   Mon,  8 Sep 2025 12:18:11 +0100

feat(neovim): plugin config files - {lualine,sourcery}

Diffstat:
Aneovim/.config/nvim/lua/plugins/lualine.lua | 36++++++++++++++++++++++++++++++++++++
Aneovim/.config/nvim/lua/plugins/sourcery.lua | 10++++++++++
2 files changed, 46 insertions(+), 0 deletions(-)

diff --git a/neovim/.config/nvim/lua/plugins/lualine.lua b/neovim/.config/nvim/lua/plugins/lualine.lua @@ -0,0 +1,36 @@ +return { + "nvim-lualine/lualine.nvim", + event = "VeryLazy", + opts = { + options = { + -- this is all you need + theme = "sourcery", + + -- everything below + -- is extra style + -- can't help myself :P + component_separators = { left = "░", right = "░" }, + section_separators = { left = "▓▒░", right = "░▒▓" }, + }, + sections = { + lualine_b = { + "branch", { + "diagnostics", + sources = { "nvim_diagnostic" }, + symbols = { error = " ", warn = " ", info = " " }, + diagnostics_color = { + error = { fg = "#151515" }, + warn = { fg = "#151515" }, + info = { fg = "#151515" }, + }, + }, + }, + lualine_x = { + { "encoding", padding = { left = 1, right = 1 }, separator = { left = "░▒▓" } }, + { "fileformat" }, + { "filetype" }, + }, + lualine_y = { "searchcount", "progress" }, + }, + }, +} diff --git a/neovim/.config/nvim/lua/plugins/sourcery.lua b/neovim/.config/nvim/lua/plugins/sourcery.lua @@ -0,0 +1,10 @@ +return { + "sourcery", + name = "sourcery.nvim", + lazy = false, + dev = { true }, + priority = 1000, + config = function() + vim.cmd("colorscheme sourcery") + end, +}