From 2b7a750042204790f575947e8c4127939351c89c Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Sat, 13 Apr 2024 17:51:25 +0200 Subject: [PATCH] feat: add `tree-sitter-norg` as a dependency --- .github/workflows/luarocks.yml | 1 + build.lua | 1 + neorg-scm-1.rockspec | 39 ---------------------------------- 3 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 neorg-scm-1.rockspec diff --git a/.github/workflows/luarocks.yml b/.github/workflows/luarocks.yml index 0250af49c..7b1b64613 100644 --- a/.github/workflows/luarocks.yml +++ b/.github/workflows/luarocks.yml @@ -31,3 +31,4 @@ jobs: plenary.nvim == 0.1.4 nui.nvim == 0.3.0 pathlib.nvim ~> 2.2 + tree-sitter-norg == 0.1.0 diff --git a/build.lua b/build.lua index 8d672db02..207f89b18 100644 --- a/build.lua +++ b/build.lua @@ -17,6 +17,7 @@ vim.schedule(function() "plenary.nvim == 0.1.4", "nui.nvim == 0.3.0", "pathlib.nvim ~> 2.2", + "tree-sitter-norg == 0.1.0", }) package.loaded["neorg"] = nil diff --git a/neorg-scm-1.rockspec b/neorg-scm-1.rockspec deleted file mode 100644 index a9b031ef4..000000000 --- a/neorg-scm-1.rockspec +++ /dev/null @@ -1,39 +0,0 @@ -local MODREV, SPECREV = "scm", "-1" -rockspec_format = "3.0" -package = "neorg" -version = MODREV .. SPECREV - -description = { - summary = "Modernity meets insane extensibility. The future of organizing your life in Neovim.", - labels = { "neovim" }, - homepage = "https://github.com/nvim-neorg/neorg", - license = "GPL-3.0", -} - -dependencies = { - "lua >= 5.1, < 5.4", - "nvim-nio", - -- "norgopolis-client.lua >= 0.2.0", - -- "norgopolis-server.lua >= 1.3.1", - "lua-utils.nvim", - "pathlib.nvim ~> 2.2", -} - -source = { - url = "http://github.com/nvim-neorg/neorg/archive/v" .. MODREV .. ".zip", -} - -if MODREV == "scm" then - source = { - url = "git://github.com/nvim-neorg/neorg", - } -end - -build = { - type = "builtin", - copy_directories = { - "queries", - "ftdetect", - "doc", - } -}