Skip to content

Support for clojure via clojure-lsp #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mdbenito
Copy link

@mdbenito mdbenito commented Jun 8, 2025

This PR adds support for clojure-lsp.

Main changes

  • Added a ClojureLSP class implementing LanguageServer.
  • Added initialization parameters for the Clojure language server, including workspace and text document capabilities, as supported by multilspy
  • Defined runtime dependencies for clojure-lsp across multiple platforms (e.g., OSX, Linux, Windows).
  • Added CLOJURE as a new language option in the Language enum.

Integration Tests

  • Added tests for both sync and async server connections testing definition lookup, cross-file references, completions, document symbols, hover information, workspace symbols, file operations, and namespace function handling.
  • Added a minimalistic sample clojure repo to avoid depending on an external source

Other changes

  • Updated .gitignore
  • Fixed a small typo

@mdbenito
Copy link
Author

mdbenito commented Jun 8, 2025

@microsoft-github-policy-service agree

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