a lot more stuff

This commit is contained in:
2025-04-17 11:41:32 -05:00
parent 8eaa615596
commit 3094bf2a39
37 changed files with 891 additions and 281 deletions

View File

@ -8,7 +8,12 @@
-- dependencies take a look at the build.lua for versioning info. Also make sure
-- to check the release notes on github for info on breaking changes.
local workspace_cache = vim.fs.joinpath(vim.fn.stdpath("data"), "neorg-workspace-cache.lua")
local workspace_cache
if not vim.fs then
workspace_cache = vim.fn.stdpath("data").."/neorg-workspace-cache.lua"
else
workspace_cache = vim.fs.joinpath(vim.fn.stdpath("data"), "neorg-workspace-cache.lua")
end
--- populate neorg workspaces from path or cache
---@param path string path to populate workspaces from
@ -57,8 +62,8 @@ local function populate_workspaces(path, cache)
end
return { 'nvim-neorg/neorg',
disable = vim.version.lt(vim.version(), { 0, 10, 0 }),
branch = 'v9.1.1',
disable = not vim.fn.has("nvim-0.10.0"),
branch = 'v9.3.0',
requires = {
'nvim-lua/plenary.nvim',
'nvim-treesitter/nvim-treesitter',
@ -69,7 +74,8 @@ return { 'nvim-neorg/neorg',
},
-- NOTE: these are usually installed by neorg via luarocks, the versions
-- were picked based on the build.lua found in the root of the neorg repo
-- 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'
},