From d22d0d53b18bd9d349f477eb0ab5fad192af1a84 Mon Sep 17 00:00:00 2001 From: cashmere Date: Wed, 17 Jun 2026 18:02:19 +0200 Subject: config: replace punch-line with svg-line mode-line Use the svg-line fork (git.cashmere.rs, feat/tty-kitty-modeline) for the mode-line; segments (modal/evil, buffer, vc, weather, battery, position, major-mode) come from svg-line-segments in the fork, so the config just defines and activates the bar and sets the weather coordinates. --- custom-vars.el | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'custom-vars.el') diff --git a/custom-vars.el b/custom-vars.el index ce3e826..578163e 100644 --- a/custom-vars.el +++ b/custom-vars.el @@ -17,7 +17,26 @@ nushell-ts-mode offlineimap org-modern pdf-tools ultra-scroll)) '(safe-local-variable-values - '((eglot-server-programs + '((eval let ((host (car (split-string (system-name) "\\.")))) + (setq-local eglot-workspace-configuration + `(:nixd + (:nixpkgs + (:expr + ,(format + "(import ./.).nixosConfigurations.%s.pkgs" + host)) + :formatting (:command ["nixfmt"]) :options + (:nixos + (:expr + ,(format + "(import ./.).nixosConfigurations.%s.options" + host)) + :home-manager + (:expr + ,(format + "(import ./.).nixosConfigurations.%s.options.home-manager.users.type.getSubOptions []" + host))))))) + (eglot-server-programs ((python-ts-mode python-mode) "rass" "--" "ty" "server" "--" "ruff" "server")) (eglot-server-programs (nix-mode "devenv" "lsp")) -- cgit v1.3.1