From 9151a1f99c3ef78d4b36b42c5acbfc38028e9491 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 9 Feb 2024 00:08:50 -0600 Subject: [PATCH] refactor(nvim): use headlines.nvim for heading bullets --- .../nvim/lua/plugins/configs/headlines.lua | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/dots/.config/nvim/lua/plugins/configs/headlines.lua b/dots/.config/nvim/lua/plugins/configs/headlines.lua index 264f7260..13290efa 100644 --- a/dots/.config/nvim/lua/plugins/configs/headlines.lua +++ b/dots/.config/nvim/lua/plugins/configs/headlines.lua @@ -2,6 +2,30 @@ return { { "lukas-reineke/headlines.nvim", dependencies = "nvim-treesitter/nvim-treesitter", + opts = function() + local bullets = { + "󰀘", + "", + "󰺕", + "", + "󰬪", + "󱆭", + } + return { + markdown = { + bullets = bullets, + }, + rmd = { + bullets = bullets, + }, + norg = { + bullets = bullets + }, + org = { + bullets = bullets + } + } + end, config = true, ft = { "markdown", "norg", "rmd", "org" }, },