summaryrefslogtreecommitdiffstats
path: root/lua/conf/plugins/neorg.lua
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2025-05-06 16:51:24 -0500
committerSquibid <me@zacharyscheiman.com>2025-05-06 16:51:24 -0500
commit7c3289fded1f75f6e060f56bd06edc2a327744d9 (patch)
treebf579e6eb1de84237a74ef13ce67703c15266afe /lua/conf/plugins/neorg.lua
parent3094bf2a3983b375f4adeccd25c3b12bbbded2aa (diff)
downloadnvim-7c3289fded1f75f6e060f56bd06edc2a327744d9.tar.gz
nvim-7c3289fded1f75f6e060f56bd06edc2a327744d9.tar.bz2
nvim-7c3289fded1f75f6e060f56bd06edc2a327744d9.zip
kitchen sink again :(
Diffstat (limited to '')
-rw-r--r--lua/conf/plugins/neorg.lua42
1 files changed, 21 insertions, 21 deletions
diff --git a/lua/conf/plugins/neorg.lua b/lua/conf/plugins/neorg.lua
index 84a0b79..9193a84 100644
--- a/lua/conf/plugins/neorg.lua
+++ b/lua/conf/plugins/neorg.lua
@@ -1,7 +1,7 @@
-- WARNING: neorg does some pretty stupid stuff when it comes to the plugins it
--- wants (using luarocks), in order to get around all that bullshit I've
--- manually added it's dependencies. Because I don't want this to randomly break
--- I've also pinned neorg to the latest working version that I've messed around
+-- wants (using luarocks), in order to get around all that bullshit I"ve
+-- manually added it"s dependencies. Because I don"t want this to randomly break
+-- I"ve also pinned neorg to the latest working version that I"ve messed around
-- with.
--
-- NOTE: for my future self to update this thingy while not breaking
@@ -36,7 +36,7 @@ local function populate_workspaces(path, cache)
if string.sub(n, 1, 1) == "." or (t ~= "directory" and t ~= "link") then
goto continue
end
- -- make sure this still works if the last charachter in the path isn't a '/'
+ -- make sure this still works if the last charachter in the path isn"t a "/"
workspaces[n] = (string.sub(path, #path, #path) == "/") and path..n or path.."/"..n
::continue::
end
@@ -61,32 +61,32 @@ local function populate_workspaces(path, cache)
return workspaces
end
-return { 'nvim-neorg/neorg',
+return { "nvim-neorg/neorg",
disable = not vim.fn.has("nvim-0.10.0"),
- branch = 'v9.3.0',
+ branch = "v9.3.0",
requires = {
- 'nvim-lua/plenary.nvim',
- 'nvim-treesitter/nvim-treesitter',
- 'folke/zen-mode.nvim',
- 'hrsh7th/nvim-cmp',
- { 'nvim-neorg/neorg-telescope',
- requires = 'nvim-telescope/telescope.nvim'
+ "nvim-lua/plenary.nvim",
+ "nvim-treesitter/nvim-treesitter",
+ "folke/zen-mode.nvim",
+ "hrsh7th/nvim-cmp",
+ { "nvim-neorg/neorg-telescope",
+ requires = "nvim-telescope/telescope.nvim"
},
-- NOTE: these are usually installed by neorg via luarocks, the versions
-- were picked based on the neorg-scm-1.rockspec found in the root of the
-- neorg repo
- { 'nvim-neotest/nvim-nio',
- branch = 'v1.7.0'
+ { "nvim-neotest/nvim-nio",
+ branch = "v1.7.0"
},
- { 'nvim-neorg/lua-utils.nvim',
- branch = 'v1.0.2'
+ { "nvim-neorg/lua-utils.nvim",
+ branch = "v1.0.2"
},
- { 'MunifTanjim/nui.nvim',
- branch = '0.3.0'
+ { "MunifTanjim/nui.nvim",
+ branch = "0.3.0"
},
- { 'pysan3/pathlib.nvim',
- branch = 'v2.2.2'
+ { "pysan3/pathlib.nvim",
+ branch = "v2.2.2"
}
},
@@ -94,7 +94,7 @@ return { 'nvim-neorg/neorg',
local wsphome = (os.getenv("XDG_DOCUMENTS_DIR") or
(os.getenv("HOME").."/Documents")).."/notes/"
- require('neorg').setup {
+ require("neorg").setup {
load = {
-- not sure how to sort the modules so ima just put the empty ones first
["core.defaults"] = {},