@@ -315,3 +315,15 @@ comment-token = "//"
315315
316316language-server = { command = "zls" }
317317indent = { tab-width = 4, unit = " " }
318+
319+[[language]]
320+name = "prolog"
321+scope = "source.prolog"
322+roots = []
323+file-types = ["pl", "prolog"]
324+comment-token = "%"
325+
326+language-server = { command = "swipl", args = [
327+ "-g", "use_module(library(lsp_server))",
328+ "-g", "lsp_server:main",
329+ "-t", "halt", "--", "stdio"] }