diff --git a/README.md b/README.md index abf2da8..ab7b216 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 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 diff --git a/config/plugins/editor/neo-tree.nix b/config/plugins/editor/neo-tree.nix index f8d8403..18b2ca8 100644 --- a/config/plugins/editor/neo-tree.nix +++ b/config/plugins/editor/neo-tree.nix @@ -18,6 +18,20 @@ expanderExpanded = " "; expanderHighlight = "NeoTreeExpander"; }; + + gitStatus = { + symbols = { + added = " "; + conflict = "󰩌 "; + deleted = "󱂥"; + ignored = " "; + modified = " "; + renamed = "󰑕"; + staged = "󰩍"; + unstaged = ""; + untracked = ""; + }; + }; }; }; diff --git a/config/plugins/themes/default.nix b/config/plugins/themes/default.nix index 2a5ecde..d6779ca 100644 --- a/config/plugins/themes/default.nix +++ b/config/plugins/themes/default.nix @@ -7,6 +7,13 @@ light = "macchiato"; dark = "mocha"; }; + custom_highlights = '' + function(numbercolor) + return { + CursorLineNr = { fg = numbercolor.peach, style = {} }, + } + end + ''; flavour = "macchiato"; # "latte", "mocha", "frappe", "macchiato" or raw lua code no_bold = false; no_italic = false; diff --git a/config/plugins/ui/bufferline.nix b/config/plugins/ui/bufferline.nix index d13bb21..e7d1a3f 100644 --- a/config/plugins/ui/bufferline.nix +++ b/config/plugins/ui/bufferline.nix @@ -3,6 +3,12 @@ bufferline = { enable = true; diagnostics = "nvim_lsp"; + mode = "buffers"; + + closeIcon = " "; + bufferCloseIcon = "󰱝 "; + modifiedIcon = "󰔯 "; + offsets = [ { filetype = "neo-tree"; diff --git a/config/plugins/ui/lualine.nix b/config/plugins/ui/lualine.nix index 2813574..f55bf4b 100644 --- a/config/plugins/ui/lualine.nix +++ b/config/plugins/ui/lualine.nix @@ -25,6 +25,7 @@ _: { { name = "diagnostics"; extraConfig = { + sources = ["nvim_lsp"]; symbols = { error = " "; warn = " ";