oops
This commit is contained in:
parent
f0a31d7af9
commit
e231915070
1 changed files with 3 additions and 3 deletions
|
|
@ -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',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue