Skip to content

languages/clojure: init - #907

Merged
Soliprem merged 5 commits into
NotAShelf:mainfrom
nil-andreas:clojure-lsp
May 27, 2025
Merged

languages/clojure: init#907
Soliprem merged 5 commits into
NotAShelf:mainfrom
nil-andreas:clojure-lsp

Conversation

@nil-andreas

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

Copy link
Copy Markdown
Contributor

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

github-actions Bot commented May 17, 2025

Copy link
Copy Markdown

🚀 Live preview deployed from 6245473

View it here:

Debug Information

Triggered by: Soliprem

HEAD at: clojure-lsp

Reruns: 906

Comment thread modules/plugins/languages/clojure.nix Outdated
github-actions Bot pushed a commit that referenced this pull request May 21, 2025
Comment thread modules/plugins/repl/conjure/conjure.nix Outdated
Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com>
horriblename
horriblename previously approved these changes May 26, 2025
@horriblename

Copy link
Copy Markdown
Collaborator

LGTM thanks!

Comment thread modules/plugins/languages/clojure.nix Outdated
Co-authored-by: Soliprem <73885403+Soliprem@users.noreply.github.com>
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

@Soliprem Soliprem left a comment

Copy link
Copy Markdown
Collaborator

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
@github-actions

Copy link
Copy Markdown

✅ Preview has been deleted successfully!

github-actions Bot pushed a commit that referenced this pull request May 27, 2025
@NotAShelf

Copy link
Copy Markdown
Owner

Soliprem Lisp enjoyer confirmed...

@Soliprem

Copy link
Copy Markdown
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