nixd icon indicating copy to clipboard operation
nixd copied to clipboard

nixd/Controller: Conditionally include devenv option support by default

Open k3yss opened this issue 6 months ago • 0 comments

This PR adds default support for devenv.sh with the nixd LSP, eliminating the need for manual configuration. This enhancement makes devenv more intuitive and is likely to promote wider adoption of nixd, devenv, and Nix in general. Specifically this PR does the following things: 1: Fetch devenv's option using the devenv-module-options from the flake at https://github.com/cachix/devenv 2: Checks whether the devenv executable is present, if it is not it won't include the worker for options. 3: Loads the LSP in case of devenv executable being present.

Requires: https://github.com/cachix/devenv/pull/1390 to be merged

k3yss avatar Aug 17 '24 11:08 k3yss