Skip to content
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

Request: nil and other alternative lsp server support #9

Open
ozwaldorf opened this issue Jul 22, 2024 · 6 comments · May be fixed by #13
Open

Request: nil and other alternative lsp server support #9

ozwaldorf opened this issue Jul 22, 2024 · 6 comments · May be fixed by #13

Comments

@ozwaldorf
Copy link

Would be nice to support using alternative lsp servers, like nil.

@deng232
Copy link

deng232 commented Aug 7, 2024

nil seems like having more feature completed

@ozwaldorf
Copy link
Author

nil seems like having more feature completed

I especially like that it provides suggestions for builtins, along with their arguments

@ozwaldorf
Copy link
Author

It seems trivial to implement support for a custom binary config, but I wasn't able to test my changes as zed on nix doesn't work with development extensions

@niklaskorz
Copy link

nixd is pretty much unusable when working on nixpkgs (very high memory and CPU usage), so I too would like to see nil support

@matubu
Copy link

matubu commented Sep 7, 2024

It seems trivial to implement support for a custom binary config, but I wasn't able to test my changes as zed on nix doesn't work with development extensions

I am on NixOS and to test development extensions. I run nix-shell inside the zed repo. And then launch zed from their either from source with cargo run --release or just zed and then I can install development extensions with the button

*Edit I actually also had to setup `nix-ld`
  programs.nix-ld.enable = true;
  programs.nix-ld.package = pkgs.nix-ld-rs;

  programs.nix-ld.libraries = with pkgs; [
    alsa-lib
    at-spi2-atk
    at-spi2-core
    atk
    cairo
    cups
    curl
    dbus
    expat
    fontconfig
    freetype
    fuse3
    gdk-pixbuf
    glib
    gtk3
    icu
    libGL
    libappindicator-gtk3
    libdrm
    libglvnd
    libnotify
    libpulseaudio
    libunwind
    libusb1
    libuuid
    libxkbcommon
    libxml2
    mesa
    nspr
    nss
    openssl
    pango
    pipewire
    stdenv.cc.cc
    systemd
    vulkan-loader
    xorg.libX11
    xorg.libXScrnSaver
    xorg.libXcomposite
    xorg.libXcursor
    xorg.libXdamage
    xorg.libXext
    xorg.libXfixes
    xorg.libXi
    xorg.libXrandr
    xorg.libXrender
    xorg.libXtst
    xorg.libxcb
    xorg.libxkbfile
    xorg.libxshmfence
    zlib
  ];

matubu added a commit to matubu/nix that referenced this issue Sep 7, 2024
matubu added a commit to matubu/nix that referenced this issue Sep 7, 2024
@matubu matubu linked a pull request Sep 8, 2024 that will close this issue
@inclyc
Copy link

inclyc commented Oct 26, 2024

nixd is pretty much unusable when working on nixpkgs (very high memory and CPU usage), so I too would like to see nil support

Would you like to help us improve? File a issue on nix-community/nixd, report it as a bug!

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 a pull request may close this issue.

5 participants