diff options
| author | Grace Yoder <grace_yoder@outlook.com> | 2026-09-28 13:21:23 -0400 |
|---|---|---|
| committer | Grace Yoder <grace_yoder@outlook.com> | 2026-09-30 15:40:51 -0400 |
| commit | 0972aabffad27736b63039fbadd4339fb0e8b67c (patch) | |
| tree | 05b32c72ec65d3f060e10fe3ae6d178a6b8011f2 /home | |
| parent | b4edc3d5997f172cf4cc3b56d6f831772e2133d2 (diff) | |
helix stuff
Diffstat (limited to 'home')
| -rwxr-xr-x | home/helix.nix | 50 |
1 files changed, 18 insertions, 32 deletions
diff --git a/home/helix.nix b/home/helix.nix index 9453baf..fca1c32 100755 --- a/home/helix.nix +++ b/home/helix.nix @@ -1,16 +1,10 @@ { config, - lib, pkgs, ... }: let - isPurdueCS = lib.hasSuffix "cs.purdue.edu" (import ../host.nix).name; - nhx = builtins.fetchTarball { - url = "https://github.com/Ra77a3l3-jar/nhx/archive/0f11db8ed173522b73c7323e03d8fbe604594b13.tar.gz"; - sha256 = "0dcnjw7fw1nsylqpjcrl825yq1plw5aqnnqd21zl2pshn8px51b7"; - }; wRoots = roots: roots @@ -21,10 +15,6 @@ let in { - imports = [ - "${nhx}/modules" - ]; - home.packages = [ pkgs.nerd-fonts.symbols-only ]; @@ -39,26 +29,6 @@ in xdg.configFile."helix/runtime/queries/rust".source = "${pkgs.helix.runtime}/queries/rust"; - programs.nhx = { - enable = true; - package = null; - - steel = { - enable = true; - lsp.enable = true; - }; - - plugins = lib.mkIf (!isPurdueCS) { - oil.enable = true; - juju.enable = true; - who.enable = true; - # zen-mode.enable = true; - breadcrumbs.enable = true; - helix-file-watcher.enable = true; - smooth-scroll.enable = true; - }; - }; - programs.helix = { enable = true; package = pkgs.steelix; @@ -141,8 +111,6 @@ in t = ":new"; v = "vsplit"; }; - # "C-k" = "half-page-up-smooth"; - # "C-j" = "half-page-down-smooth"; "K" = "hover"; "ret" = "goto_word"; }; @@ -276,6 +244,15 @@ in args = [ "--stdio" ]; config.typescript.tsdk = "./node_modules/typescript/lib"; }; + + steel = { + command = "${pkgs.steel-language-server}"; + + environment = { + STEEL_HOME = "${config.xdg.dataHome}/steel"; + }; + + }; }; language = [ @@ -578,6 +555,15 @@ in "config.fish" ]; } + { + name = "scheme"; + file-types = [ "scm" ]; + scope = "source.scm"; + language-servers = [ "steel" ]; + roots = wRoots [ + "init.scm" + ]; + } ]; }; |
