From bd097825c05cd688b92a34d5c65cbe5085e6cad7 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 9 Jul 2024 12:18:07 +0000 Subject: [PATCH] fix(just): use native treesitter parser (#1100) Use native just treesitter parser --- lua/astrocommunity/pack/just/init.lua | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) 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, }, }