Giter VIP home page Giter VIP logo

Comments (4)

NotAShelf avatar NotAShelf commented on June 13, 2024 1

We currently provide LSPs' cmd attribute more or less as cmd = {"${pkgs.rust-analyzer}/bin/rust-analyzer"}, which explicitly receives the LSP from nixpkgs.

(P.S: this could actually be replaced with ${lib.getExe pkgs.rust-analyzer} as long as the package provides a mainProgram attribute)

The desired behaviour in #44, from what I understand, is for the user to be able to define the cmd attribute with something like cmd = {"${cfg.lspPackage"} where lspPackage is a string or a package from pkgs, and the user would simply define cfg.lspPackage as "rust-analyzer" to use rust-analyzer from user's own PATH.

from neovim-flake.

NotAShelf avatar NotAShelf commented on June 13, 2024

Alright to be completely honest with you, I have zero experience with debug adapters in neovim. Combined with my sheer lack of free time, I do not think I'll be able to figure out DAP add this anytime soon.

I have, however, initialized the debugging module on the feature/nvim-debug branch. Should you want to look into it, that branch should have the most basic stuff available.

That said, I'm not going to close this issue as it's going to remain a to-do in my list until either I or someone else manages to finish it.

from neovim-flake.

horriblename avatar horriblename commented on June 13, 2024

alright I'll see if I can make something, but I have a question related to the language module rework, #60,

what is the intended "behaviour" for user specified lsp? I assume its supposed to work with nix develop somehow, but is it like

  • user should run nix develop then nvim, or
  • when inside nvim we somehow detect if the project has its own preferred lsp and use that?

from neovim-flake.

NotAShelf avatar NotAShelf commented on June 13, 2024

Closed by #73

from neovim-flake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.