Skip to content

Commit 4296d2f

Browse files
std-enigmaUzaaft
andauthored
feat(neorg): Update version (#1384)
* feat(neorg): download norg treesitter packages * fix(neorg): better versioning * fix(neorg): Pin to 9.0 * Update init.lua * Update init.lua * Update init.lua --------- Co-authored-by: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com>
1 parent 78ff935 commit 4296d2f

File tree

1 file changed

+12
-1
lines changed
  • lua/astrocommunity/note-taking/neorg

1 file changed

+12
-1
lines changed

lua/astrocommunity/note-taking/neorg/init.lua

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
return {
22
"nvim-neorg/neorg",
3-
version = "^8",
3+
version = "^9",
44
event = "VeryLazy",
55
dependencies = { "nvim-treesitter/nvim-treesitter" },
66
opts = function(_, opts)
@@ -29,4 +29,15 @@ return {
2929
},
3030
})
3131
end,
32+
specs = {
33+
{
34+
"nvim-treesitter/nvim-treesitter",
35+
opts = function(_, opts)
36+
if opts.ensure_installed ~= "all" then
37+
opts.ensure_installed =
38+
require("astrocore").list_insert_unique(opts.ensure_installed, { "norg", "norg_meta" })
39+
end
40+
end,
41+
},
42+
},
3243
}

0 commit comments

Comments
 (0)