This commit is contained in:
William Ball 2024-11-20 19:37:16 -08:00
parent f0a31d7af9
commit e231915070

View file

@ -19,7 +19,7 @@ end
function M.setup(arg) function M.setup(arg)
local parser_config = require('nvim-treesitter.parsers').get_parser_configs() local parser_config = require('nvim-treesitter.parsers').get_parser_configs()
parser_config.curse = { parser_config.perga = {
install_info = { install_info = {
url = arg['local'] and join_paths( url = arg['local'] and join_paths(
vim.fn.stdpath('data'), vim.fn.stdpath('data'),
@ -27,7 +27,7 @@ function M.setup(arg)
'pack', 'pack',
'packer', 'packer',
'start', 'start',
'tree-sitter-curse' 'tree-sitter-perga'
) or 'https://forgejo.ballcloud.cc/wball/tree-sitter-perga', ) or 'https://forgejo.ballcloud.cc/wball/tree-sitter-perga',
files = { 'src/parser.c' }, files = { 'src/parser.c' },
branch = 'main', branch = 'main',
@ -39,7 +39,7 @@ function M.setup(arg)
ft.setup({ ft.setup({
overrides = { overrides = {
extensions = { extensions = {
curse = 'perga', pg = 'perga',
}, },
}, },
}) })