Skip to content

Commit

Permalink
plugins/lsp: add biome language server (#698)
Browse files Browse the repository at this point in the history
* plugins/lsp: add biome language server

* fix:typo caught by codespell

* remove unnecessary package attribute

Co-authored-by: Gaétan Lepage <[email protected]>

---------

Co-authored-by: Gaétan Lepage <[email protected]>
  • Loading branch information
zachcoyle and GaetanLepage authored Nov 14, 2023
1 parent a742bd1 commit 06ebef8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/lsp/language-servers/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ with lib; let
description = "Enable bashls, for bash.";
package = pkgs.nodePackages.bash-language-server;
}
{
name = "biome";
description = "Enable Biome, Toolchain of the Web";
}
{
name = "ccls";
description = "Enable ccls, for C/C++.";
Expand Down Expand Up @@ -253,7 +257,7 @@ with lib; let
name = "lua-ls";
description = "Enable lua LS, for lua";
# 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 =
if (hasAttr "lua-language-server" pkgs)
then pkgs.lua-language-server
Expand Down
1 change: 1 addition & 0 deletions tests/test-sources/plugins/lsp/nvim-lsp.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
servers = {
astro.enable = true;
bashls.enable = true;
biome.enable = true;
ccls.enable = true;
clangd.enable = true;
clojure-lsp.enable = true;
Expand Down

0 comments on commit 06ebef8

Please sign in to comment.