neovim lspconfig

This commit is contained in:
Tristan 2023-12-23 15:43:26 +00:00
parent fb5c04a84a
commit 34aaaf63d2
29 changed files with 1705 additions and 1399 deletions

View file

@ -1,10 +1,10 @@
{ lib
, stdenv
, buildGoModule
, fetchFromGitHub
, installShellFiles
{
lib,
stdenv,
buildGoModule,
fetchFromGitHub,
installShellFiles,
}:
buildGoModule rec {
pname = "lf";
version = "28-1";
@ -18,13 +18,13 @@ buildGoModule rec {
vendorHash = "sha256-oIIyQbw42+B6T6Qn6nIV62Xr+8ms3tatfFI8ocYNr0A=";
nativeBuildInputs = [ installShellFiles ];
nativeBuildInputs = [installShellFiles];
ldflags = [ "-s" "-w" "-X main.gVersion=r${version}" ];
ldflags = ["-s" "-w" "-X main.gVersion=r${version}"];
# Force the use of the pure-go implementation of the os/user library.
# Relevant issue: https://github.com/gokcehan/lf/issues/191
tags = lib.optionals (!stdenv.isDarwin) [ "osusergo" ];
tags = lib.optionals (!stdenv.isDarwin) ["osusergo"];
postInstall = ''
install -D --mode=444 lf.desktop $out/share/applications/lf.desktop
@ -44,6 +44,6 @@ buildGoModule rec {
changelog = "https://github.com/gokcehan/lf/releases/tag/r${version}";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ dotlambda ];
maintainers = with maintainers; [dotlambda];
};
}