From 1dd8a19ad638bd4e47305b411b5fe38d986a5a7c Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Wed, 26 Feb 2025 15:45:10 -0800 Subject: [PATCH] Add pkl-lsp (#12962) --- book/src/generated/lang-support.md | 2 +- languages.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index f72b762f4..7a45d4566 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -169,7 +169,7 @@ | php | ✓ | ✓ | ✓ | `intelephense` | | php-only | ✓ | | | | | pkgbuild | ✓ | ✓ | ✓ | `termux-language-server`, `bash-language-server` | -| pkl | ✓ | | ✓ | | +| pkl | ✓ | | ✓ | `pkl-lsp` | | po | ✓ | ✓ | | | | pod | ✓ | | | | | ponylang | ✓ | ✓ | ✓ | | diff --git a/languages.toml b/languages.toml index f5c8980c2..e1ee2eb09 100644 --- a/languages.toml +++ b/languages.toml @@ -83,6 +83,7 @@ pasls = { command = "pasls", args = [] } pbkit = { command = "pb", args = [ "lsp" ] } perlnavigator = { command = "perlnavigator", args= ["--stdio"] } pest-language-server = { command = "pest-language-server" } +pkl-lsp = { command = "pkl-lsp" } prisma-language-server = { command = "prisma-language-server", args = ["--stdio"] } purescript-language-server = { command = "purescript-language-server", args = ["--stdio"] } pylsp = { command = "pylsp" } @@ -3615,6 +3616,7 @@ scope = "source.pkl" injection-regex = "pkl" file-types = ["pkl", "pcf"] comment-token = "//" +language-servers = ["pkl-lsp"] indent = { tab-width = 2, unit = " " } [[grammar]]