plugins/lsp: add biome language server (#698)

* plugins/lsp: add biome language server

* fix:typo caught by codespell

* remove unnecessary package attribute

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

---------

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
This commit is contained in:
Zach Coyle 2023-11-14 08:54:47 -05:00 committed by GitHub
parent a742bd1fc4
commit 06ebef8da8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -20,6 +20,10 @@ with lib; let
description = "Enable bashls, for bash."; description = "Enable bashls, for bash.";
package = pkgs.nodePackages.bash-language-server; package = pkgs.nodePackages.bash-language-server;
} }
{
name = "biome";
description = "Enable Biome, Toolchain of the Web";
}
{ {
name = "ccls"; name = "ccls";
description = "Enable ccls, for C/C++."; description = "Enable ccls, for C/C++.";
@ -253,7 +257,7 @@ with lib; let
name = "lua-ls"; name = "lua-ls";
description = "Enable lua LS, for lua"; description = "Enable lua LS, for lua";
# Use the old name of the lua LS if the user is on a stable branch of nixpkgs # Use the old name of the lua LS if the user is on a stable branch of nixpkgs
# Rename occured here: https://github.com/NixOS/nixpkgs/pull/215057 # Rename occurred here: https://github.com/NixOS/nixpkgs/pull/215057
package = package =
if (hasAttr "lua-language-server" pkgs) if (hasAttr "lua-language-server" pkgs)
then pkgs.lua-language-server then pkgs.lua-language-server

View file

@ -73,6 +73,7 @@
servers = { servers = {
astro.enable = true; astro.enable = true;
bashls.enable = true; bashls.enable = true;
biome.enable = true;
ccls.enable = true; ccls.enable = true;
clangd.enable = true; clangd.enable = true;
clojure-lsp.enable = true; clojure-lsp.enable = true;