From e9a20f49e2950c53d85dbbec2f512f077103c79e Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Mon, 2 Sep 2024 18:30:30 +0200 Subject: [PATCH] Update --- docs/TODO.md | 1 - home/programs/nvim/plugins/ui.nix | 18 +++++++++++++++--- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/docs/TODO.md b/docs/TODO.md index 732256c..5db3eaf 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -25,7 +25,6 @@ feel free to contribute <3 ([CONTRIBUTING.md](CONTRIBUTING.md)) - [ ] Keymaps: - Trouble - Tagbar (actually not working) - - [ ] Disable background color for headlines.nvim for titles - [ ] Update docs diff --git a/home/programs/nvim/plugins/ui.nix b/home/programs/nvim/plugins/ui.nix index fba88c6..6916318 100644 --- a/home/programs/nvim/plugins/ui.nix +++ b/home/programs/nvim/plugins/ui.nix @@ -1,6 +1,13 @@ -{ pkgs, ... }: { +{ pkgs, config, ... }: { home.packages = with pkgs; [ ctags ]; + programs.nixvim = { + highlight = { + Headline.bg = "#${config.var.theme.colors.bgalt}"; + Headline.bold = true; + Headline1.bg = "#${config.var.theme.colors.c0}"; + Headline1.bold = true; + }; plugins = { lualine.enable = true; noice.enable = true; @@ -10,17 +17,22 @@ }; bufferline.enable = true; trouble.enable = true; + indent-blankline.enable = true; which-key.enable = true; headlines = { enable = true; settings = { markdown = { - codeblock_highlight = false; + headline_highlights = [ "Headline1" "Headline" ]; + fat_headlines = false; + bullets = [ "" "◉" "○" "✸" ]; + dash_string = ""; + codeblock_highlight = "Headline"; }; }; }; nvim-colorizer.enable = true; - # tagbar.enable = true; + tagbar.enable = true; # FIXME: Tagbar is not working }; keymaps = [{ key = "t";