From 9c3e82b41b52731258701b816d177f23f1b1c9c0 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 30 Jul 2023 18:13:35 +0300 Subject: [PATCH] feat: enable navic integration for catppuccin theme --- modules/theme/supported_themes.nix | 6 +++++- modules/ui/breadcrumbs/config.nix | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/theme/supported_themes.nix b/modules/theme/supported_themes.nix index f4e2477..1d36628 100644 --- a/modules/theme/supported_themes.nix +++ b/modules/theme/supported_themes.nix @@ -60,7 +60,11 @@ markdown = true, noice = true, notify = true, -- nvim-notify - which_key = true + which_key = true, + navic = { + enabled = false, + custom_bg = "NONE", -- "lualine" will set background to mantle + }, }, } -- setup must be called before loading diff --git a/modules/ui/breadcrumbs/config.nix b/modules/ui/breadcrumbs/config.nix index 7bf7dc1..18e84f0 100644 --- a/modules/ui/breadcrumbs/config.nix +++ b/modules/ui/breadcrumbs/config.nix @@ -31,6 +31,10 @@ in { local navic = require("nvim-navic") local actions = require("nvim-navbuddy.actions") + require("nvim-navic").setup { + highlight = true + } + -- TODO: wrap this in an optional string with navbuddy as the enable condition navbuddy.setup { window = {