nixvim
nixvim copied to clipboard
update-scripts: Add a script to search for nvim-lspconfig server packages
This script generates a list on stdout of possible matches for nvim-lspconfig servers.
It can't easily generate something more advanced because a lot of lsp servers have false positives, for example groovy's default command is java -jar ....., this would match the java package, not the groovy language server.
While working on https://github.com/nix-community/nixvim/pull/2399 it might be nice if we can use the script to check for whether a match exists, if it doesn't automatically add it to the unpackaged list in lsp-packages.nix to make this fully automated..
Well this is the use of this script, to help search for the corresponding nixkpkgs package
@traxys friendly bump :slightly_smiling_face:
@traxys Were you still interested in getting this added? Would be helpful to have it available, in source, the next time we have lsp changes.
@mergify queue
queue
✅ The pull request has been merged automatically
The pull request has been merged automatically at dc7bca6d8c5ca0a56cec0c42a74819b8caca3b25
This pull request, with head sha dc7bca6d8c5ca0a56cec0c42a74819b8caca3b25, has been successfully merged with fast-forward by Mergify.
This pull request will be automatically closed by GitHub.
As soon as GitHub detects that the sha dc7bca6d8c5ca0a56cec0c42a74819b8caca3b25 is part of the main branch, it will mark this pull request as merged.
It is possible for this pull request to remain open if this detection does not happen, this usually happens when a force-push is done on this branch lsp-package-search, this means GitHub will fail to detect the merge.