lukas-reineke / headlines.nvim

This plugin adds horizontal highlights for text filetypes, like markdown, orgmode, and neorg.
MIT License
688 stars 28 forks source link

Orgmode hl groups changed #71

Closed kristijanhusak closed 6 months ago

kristijanhusak commented 6 months ago

Hey,

Just a heads up that Orgmode highlights were changed. This patch should fix it:

diff --git a/lua/headlines/init.lua b/lua/headlines/init.lua
index 8bc5025..0d8c217 100644
--- a/lua/headlines/init.lua
+++ b/lua/headlines/init.lua
@@ -173,14 +173,14 @@ M.config = {
         ),
         headline_highlights = { "Headline" },
         bullet_highlights = {
-            "OrgTSHeadlineLevel1",
-            "OrgTSHeadlineLevel2",
-            "OrgTSHeadlineLevel3",
-            "OrgTSHeadlineLevel4",
-            "OrgTSHeadlineLevel5",
-            "OrgTSHeadlineLevel6",
-            "OrgTSHeadlineLevel7",
-            "OrgTSHeadlineLevel8",
+            "@org.headline.level1",
+            "@org.headline.level2",
+            "@org.headline.level3",
+            "@org.headline.level4",
+            "@org.headline.level5",
+            "@org.headline.level6",
+            "@org.headline.level7",
+            "@org.headline.level8",
         },
         bullets = { "◉", "○", "✸", "✿" },
         codeblock_highlight = "CodeBlock",