whee
This commit is contained in:
commit
1d2036ea85
1 changed files with 17 additions and 0 deletions
17
lua/perga/init.lua
Normal file
17
lua/perga/init.lua
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
local M = {}
|
||||||
|
|
||||||
|
function M.setup(opts)
|
||||||
|
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
|
||||||
|
parser_config.perga = {
|
||||||
|
install_info = {
|
||||||
|
url = "https://forgejo.ballcloud.cc/wball/tree-sitter-perga",
|
||||||
|
files = {"src/parser.c"},
|
||||||
|
branch = "main",
|
||||||
|
generate_requires_npm = false,
|
||||||
|
requires_generate_from_grammar = false,
|
||||||
|
},
|
||||||
|
filetype = "pg",
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
return M
|
||||||
Loading…
Reference in a new issue