diff options
author | Squibid <me@zacharyscheiman.com> | 2024-04-08 18:33:13 -0400 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2024-04-08 18:33:13 -0400 |
commit | ede5c88c6e451e14f94c56b7f301e9d1515e672d (patch) | |
tree | 2028146c0a9d93d8c0ca00569d7cdbc7761004f5 /after/plugin/neorg.lua | |
parent | 17a4457c0ecf531ba3060cbaeb8a062876d21a1a (diff) | |
download | nvim-ede5c88c6e451e14f94c56b7f301e9d1515e672d.tar.gz nvim-ede5c88c6e451e14f94c56b7f301e9d1515e672d.tar.bz2 nvim-ede5c88c6e451e14f94c56b7f301e9d1515e672d.zip |
fix neorg so it works on v8.0.0 and make headlines stop overriding the
neorg header bullet points
Diffstat (limited to 'after/plugin/neorg.lua')
-rw-r--r-- | after/plugin/neorg.lua | 7 |
1 files changed, 7 insertions, 0 deletions
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 { |