feat: styling updates (#10)

Updated some plugins to use custom git and diagnostic symbols, also
changed the line number color to match my system highlight color
(catppuccin peach).
This commit is contained in:
Roel de Cort 2024-06-26 23:18:15 +02:00 committed by GitHub
parent 3de533a92a
commit c991360154
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 29 additions and 1 deletions

View file

@ -1,6 +1,6 @@
# NixVim Configuration # NixVim Configuration
This repository contains the configuration for NixVim, a Neovim configuration managed with Nix. This repository contains my personal configuration NixVim, a Neovim configuration managed with Nix.
## General Configuration ## General Configuration

View file

@ -18,6 +18,20 @@
expanderExpanded = " "; expanderExpanded = " ";
expanderHighlight = "NeoTreeExpander"; expanderHighlight = "NeoTreeExpander";
}; };
gitStatus = {
symbols = {
added = " ";
conflict = "󰩌 ";
deleted = "󱂥";
ignored = " ";
modified = " ";
renamed = "󰑕";
staged = "󰩍";
unstaged = "";
untracked = "";
};
};
}; };
}; };

View file

@ -7,6 +7,13 @@
light = "macchiato"; light = "macchiato";
dark = "mocha"; dark = "mocha";
}; };
custom_highlights = ''
function(numbercolor)
return {
CursorLineNr = { fg = numbercolor.peach, style = {} },
}
end
'';
flavour = "macchiato"; # "latte", "mocha", "frappe", "macchiato" or raw lua code flavour = "macchiato"; # "latte", "mocha", "frappe", "macchiato" or raw lua code
no_bold = false; no_bold = false;
no_italic = false; no_italic = false;

View file

@ -3,6 +3,12 @@
bufferline = { bufferline = {
enable = true; enable = true;
diagnostics = "nvim_lsp"; diagnostics = "nvim_lsp";
mode = "buffers";
closeIcon = " ";
bufferCloseIcon = "󰱝 ";
modifiedIcon = "󰔯 ";
offsets = [ offsets = [
{ {
filetype = "neo-tree"; filetype = "neo-tree";

View file

@ -25,6 +25,7 @@ _: {
{ {
name = "diagnostics"; name = "diagnostics";
extraConfig = { extraConfig = {
sources = ["nvim_lsp"];
symbols = { symbols = {
error = " "; error = " ";
warn = " "; warn = " ";