diff --git a/lua/astrocommunity/pack/just/init.lua b/lua/astrocommunity/pack/just/init.lua index b838733b7..7157a4a62 100644 --- a/lua/astrocommunity/pack/just/init.lua +++ b/lua/astrocommunity/pack/just/init.lua @@ -17,18 +17,6 @@ return { { "nvim-treesitter/nvim-treesitter", optional = true, - opts = function(_, opts) - local parser_config = require("nvim-treesitter.parsers").get_parser_configs() - parser_config.just = { - install_info = { - url = "https://github.com/IndianBoy42/tree-sitter-just", -- local path or git repo - files = { "src/parser.c", "src/scanner.cc" }, - branch = "main", - use_makefile = true, -- this may be necessary on MacOS (try if you see compiler errors) - }, - maintainers = { "@IndianBoy42" }, - } - require("astrocore").list_insert_unique(opts.ensure_installed, { "just" }) - end, + opts = function(_, opts) require("astrocore").list_insert_unique(opts.ensure_installed, { "just" }) end, }, }