From ede5c88c6e451e14f94c56b7f301e9d1515e672d Mon Sep 17 00:00:00 2001 From: Squibid Date: Mon, 8 Apr 2024 18:33:13 -0400 Subject: fix neorg so it works on v8.0.0 and make headlines stop overriding the neorg header bullet points --- after/plugin/headlines.lua | 3 ++- after/plugin/neorg.lua | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'after') diff --git a/after/plugin/headlines.lua b/after/plugin/headlines.lua index fbb7146..be1ac57 100644 --- a/after/plugin/headlines.lua +++ b/after/plugin/headlines.lua @@ -12,7 +12,8 @@ headlines.setup { "@neorg.headings.4.title", "@neorg.headings.5.title", "@neorg.headings.6.title" - } + }, + bullets = { "", "", "", "" } }, markdown = { headline_highlights = { diff --git a/after/plugin/neorg.lua b/after/plugin/neorg.lua index ec0b24a..21a6c0e 100644 --- a/after/plugin/neorg.lua +++ b/after/plugin/neorg.lua @@ -3,6 +3,13 @@ if not status_ok then return end +local status_ok2, luarocks = pcall(require, "luarocks-nvim") +if not status_ok2 then + return +end + +luarocks.setup {} + local wsphome = (os.getenv("XDG_DOCUMENTS_DIR") or (os.getenv("HOME").."/Documents")).."/notes/" neorg.setup { -- cgit v1.2.1