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

@ -137,6 +137,7 @@ helm_ls = { command = "helm_ls", args = ["serve"] }
ember-language-server = { command = "ember-language-server", args = ["--stdio"] }
teal-language-server = { command = "teal-language-server" }
wasm-language-tools = { command = "wat_server" }
sourcepawn-studio = { command = "sourcepawn-studio" }
[language-server.ansible-language-server]
command = "ansible-language-server"
@ -4213,3 +4214,15 @@ soft-wrap = { enable = true }
[[grammar]]
name = "ink"
source = { git = "https://github.com/rhizoome/tree-sitter-ink", rev = "8486e9b1627b0bc6b2deb9ee8102277a7c1281ac" }
[[language]]
name = "sourcepawn"
scope = "source.sourcepawn"
file-types = ["sp", "inc"]
comment-token = "//"
indent = {tab-width = 4, unit = " "}
language-servers = ["sourcepawn-studio"]
[[grammar]]
name = "sourcepawn"
source = { git = "https://github.com/nilshelmig/tree-sitter-sourcepawn", rev = "f2af8d0dc14c6790130cceb2a20027eb41a8297c" }