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
kak-lsp: init at 6.2.1 #64617
kak-lsp: init at 6.2.1 #64617
Conversation
@GrahamcOfBorg eval |
@GrahamcOfBorg build kak-lsp |
Hi @spacekookie. This expression looks good, could you give some pointers on how I should test its function? |
To get this building on darwin you just have to add
obviously having added |
Hi @spacekookie. This expression looks good, could you give some pointers on how I should test its function?
It's functionality is pretty centered around kakoune. What this
requires is a config file, that can be found in the project repo [1],
and something to hook into it from your kakoune [2].
[1]: https://github.com/ul/kak-lsp/blob/master/kak-lsp.toml
[2]: https://github.com/ul/kak-lsp#usage
In the future, it might be interesting to build a module around
configuring the LSP or hooking it into the kakoune plugin system in
nixpkgs (that I haven't played around with yet). But just having the
software itself packaged is gonna be helpful to a bunch of people who
want to use it already.
|
@risicle Ah nice, thank you for that tip! I just adjusted the derivation |
pkgs/tools/misc/kak-lsp/default.nix
Outdated
@@ -0,0 +1,25 @@ | |||
{ lib, fetchFromGitHub, rustPlatform }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ lib, fetchFromGitHub, rustPlatform }: | |
{stdenv, lib, fetchFromGitHub, rustPlatform }: |
fix eval
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, thanks! Completely missed that 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops we need darwin
too
@GrahamcOfBorg build kak-lsp |
Thanks @spacekookie |
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)