kitchen sink again :(

This commit is contained in:
2025-05-06 16:51:24 -05:00
parent 3094bf2a39
commit 7c3289fded
51 changed files with 544 additions and 792 deletions

View File

@ -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"] = {},