Skip to content

Conversation

@nil-andreas
Copy link
Contributor

@nil-andreas nil-andreas commented May 17, 2025

This PR adds clojure language support. I'm a Nix noob that got a lot of inspiration from the existing code in the codebase and from PR #807.

I did read the comment #807 (comment) but hoping that this code might be of value when the lsp-redesign branch comes live. I can mark it as a draft if you want.

Testing:

Tested my changes by changing the nvf url to the branch from my fork

nvf.url = "github:anil9/nvf/clojure-lsp";

The last lines of the buffer in the screenshot shows the current config:
all-enabled
treesitter-disabled
treesitter-lsp-disabled

Please take notice of the build results for .#docs-html and .#docs-linkcheck. They error:ed on clean main branch as well.

Sanity Checking

  • I have updated the changelog as per my changes
  • I have tested, and self-reviewed my code
  • My changes fit guidelines found in hacking nvf
  • Style and consistency
    • I ran Alejandra to format my code (nix fmt)
    • My code conforms to the editorconfig configuration of the project
    • My changes are consistent with the rest of the codebase
  • If new changes are particularly complex:
    • My code includes comments in particularly complex areas
    • I have added a section in the manual
    • (For breaking changes) I have included a migration guide
  • Package(s) built:
    • .#nix (default package)
    • .#maximal
    • .#docs-html (manual, must build) (ERROR: '/nix/store/6zckq3cd9pxd9x2mzdvhq006h3w3963a-nvf-manual/bin/nvf-manual': No such file or directory
    • .#docs-linkcheck (optional, please build if adding links) (ERROR: '/nix/store/nz2qw9dmlrxas1ggq6liss0gf8xmpi0s-lychee-link-check/bin/lychee-link-check': Not a directory)
  • Tested on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin

@github-actions
Copy link

github-actions bot commented May 17, 2025

🚀 Live preview deployed from 6245473

View it here:

Debug Information

Triggered by: Soliprem

HEAD at: clojure-lsp

Reruns: 906

github-actions bot pushed a commit that referenced this pull request May 21, 2025
Co-authored-by: Ching Pei Yang <[email protected]>
horriblename
horriblename previously approved these changes May 26, 2025
@horriblename
Copy link
Collaborator

LGTM thanks!

github-actions bot pushed a commit that referenced this pull request May 26, 2025
@Soliprem Soliprem self-requested a review May 27, 2025 03:58
Copy link
Collaborator

@Soliprem Soliprem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Amazing work, thanks <3

@Soliprem Soliprem merged commit 6245473 into NotAShelf:main May 27, 2025
14 checks passed
@github-actions
Copy link

✅ Preview has been deleted successfully!

github-actions bot pushed a commit that referenced this pull request May 27, 2025
@NotAShelf
Copy link
Owner

Soliprem Lisp enjoyer confirmed...

@Soliprem
Copy link
Collaborator

caught me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants