Skip to content

feat(opencode): add built-in Pkl LSP support#35927

Open
caniko wants to merge 1 commit into
anomalyco:devfrom
caniko:add-pkl-lsp
Open

feat(opencode): add built-in Pkl LSP support#35927
caniko wants to merge 1 commit into
anomalyco:devfrom
caniko:add-pkl-lsp

Conversation

@caniko

@caniko caniko commented Jul 8, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Documentation

What does this PR do?

Adds Pkl as a built-in LSP. OpenCode now recognizes .pkl files, accepts pkl in the built-in LSP config, and starts pkl-lsp --stdio when the command is available.

The built-in LSP docs and focused tests were updated with the new entry.

How did you verify your code works?

  • git diff --check
  • bun test --timeout 30000 test/config/lsp.test.ts test/lsp/index.test.ts from packages/opencode

Screenshots / recordings

Not a UI change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. needs:title labels Jul 8, 2026
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Hey! Your PR title Add built-in Pkl LSP support doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@caniko caniko changed the title Add built-in Pkl LSP support feat(opencode): add built-in Pkl LSP support Jul 8, 2026
@github-actions github-actions Bot removed needs:title needs:compliance This means the issue will auto-close after 2 hours. labels Jul 8, 2026
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@caniko
caniko force-pushed the add-pkl-lsp branch 3 times, most recently from ce6fc8a to 60952d7 Compare July 16, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant