From 54ecb45922424a6f3b2a9f769b232af715ea271c Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Tue, 1 Jul 2025 14:55:10 +1000 Subject: [PATCH] added support for c, nim, and sage --- homes/modules/editor/helix.nix | 9 +++++++++ hosts/lolcathost/default.nix | 10 +++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/homes/modules/editor/helix.nix b/homes/modules/editor/helix.nix index 52c629a..555ec75 100755 --- a/homes/modules/editor/helix.nix +++ b/homes/modules/editor/helix.nix @@ -129,6 +129,11 @@ auto-format = false; # my python is beautiful ^_^ rulers = [80]; } + { + name = "c"; + formatter.command = "${pkgs.clang-tools}/bin/clang-format"; + language-servers = ["clangd"]; + } ]; language-server = { @@ -138,6 +143,10 @@ nixd = { command = "${pkgs.nixd}/bin/nixd"; }; + # clangd for C + clangd = { + command = "${pkgs.clang-tools}/bin/clangd"; + }; }; }; }; diff --git a/hosts/lolcathost/default.nix b/hosts/lolcathost/default.nix index bfcc31a..95118e0 100755 --- a/hosts/lolcathost/default.nix +++ b/hosts/lolcathost/default.nix @@ -215,8 +215,16 @@ in { # dependencies for my sddm theme: pkgs.libsForQt5.qt5.qtgraphicaleffects - python311 # I use 3.11 since it's in a pretty stable state now + python312 # I use 3.12 since it's in a pretty stable state now + python314 # also 3.14 for latest features poetry # python dependency management and packaging + clang-tools + + nim-2_2 + nimble + # nimlangserver # FUCK THIS LSP, ITS AWFUL WITH HELIX + + sageWithDoc # SageMath + HTML Documentation # DEBUG: using neofetch temporarily to see if my system upgrades properly neofetch