feat: Add SourcePawn language support (#13028)

This commit is contained in:
suza 2025-03-07 18:55:48 +01:00 committed by GitHub
parent 2d3b75a8c5
commit dc4761ad3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 302 additions and 0 deletions

View file

@ -0,0 +1,29 @@
(function_definition
body: (_) @function.inside) @function.around
(alias_declaration
body: (_) @function.inside) @function.around
(enum_struct_method
body: (_) @function.inside) @function.around
(methodmap_method
body: (_) @function.inside) @function.around
(methodmap_method_constructor
body: (_) @function.inside) @function.around
(methodmap_method_destructor
body: (_) @function.inside) @function.around
(methodmap_property_method
body: (_) @function.inside) @function.around
(enum_struct) @class.around
(methodmap) @class.around
(parameter_declarations
((parameter_declaration) @parameter.inside . ","? @parameter.around) @parameter.around)
(comment) @comment.around