editor: Add various language servers
Some checks are pending
nix flake check / check (aarch64-linux) (push) Waiting to run
nix flake check / check (x86_64-linux) (push) Waiting to run

This commit is contained in:
Mikael 2024-11-29 20:43:16 +01:00
parent c4b1e6b61b
commit 252c0bfea0
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -1,7 +1,27 @@
{ ... }: { config, lib, ... }: {
{ ... }: { config, lib, pkgs, ... }@args:
let
osConfig = args.osConfig or { };
in {
programs.helix = {
enable = true;
defaultEditor = true;
extraPackages = lib.mkIf (osConfig.hardware.graphics.enable or false)
(with pkgs; [
bash-language-server
clang-tools
cmake-language-server
dot-language-server
elixir-ls
lldb
markdown-oxide
nil
python3Packages.python-lsp-server
taplo
texlab
typescript-language-server
yaml-language-server
]);
catppuccin.useItalics = true;
settings = {
editor = {