editor: Add various language servers
This commit is contained in:
parent
c4b1e6b61b
commit
252c0bfea0
1 changed files with 21 additions and 1 deletions
|
@ -1,7 +1,27 @@
|
||||||
{ ... }: { config, lib, ... }: {
|
{ ... }: { config, lib, pkgs, ... }@args:
|
||||||
|
let
|
||||||
|
osConfig = args.osConfig or { };
|
||||||
|
in {
|
||||||
programs.helix = {
|
programs.helix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = 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;
|
catppuccin.useItalics = true;
|
||||||
settings = {
|
settings = {
|
||||||
editor = {
|
editor = {
|
||||||
|
|
Loading…
Reference in a new issue