added commentstring
This commit is contained in:
parent
52858bbcc7
commit
70c857417a
1 changed files with 7 additions and 5 deletions
|
|
@ -5,16 +5,18 @@ function M.setup(opts)
|
|||
extension = { pg = 'perga' }
|
||||
})
|
||||
|
||||
local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
|
||||
vim.opt.commentstring = '-- %s'
|
||||
|
||||
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",
|
||||
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",
|
||||
filetype = 'pg',
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue