Skip to content

Commit

Permalink
fix(just): use native treesitter parser (#1100)
Browse files Browse the repository at this point in the history
Use native just treesitter parser
  • Loading branch information
ItsDrike authored Jul 9, 2024
1 parent db07ec9 commit bd09782
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions lua/astrocommunity/pack/just/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
}

0 comments on commit bd09782

Please sign in to comment.