diff options
Diffstat (limited to 'user/settings/emacs.nix')
-rw-r--r-- | user/settings/emacs.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index cc9deab6..cec5ee59 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -124,7 +124,7 @@ in goto-chg helpful jinx - just-mode + just-ts-mode justl kind-icon lua-mode @@ -197,12 +197,11 @@ in }; extraConfig = '' (with-eval-after-load 'editorconfig - (defvar editorconfig-exec-path "${pkgs.editorconfig-core-c}/bin/editorconfig")) + (setq editorconfig-exec-path "${pkgs.editorconfig-core-c}/bin/editorconfig")) '' + lib.optionalString stdenv.isDarwin '' - (with-eval-after-load 'files - (defvar insert-directory-program "${pkgs.coreutils-prefixed}/bin/gls")) (with-eval-after-load 'dired - (defvar dired-use-ls-dired t)) + (setq insert-directory-program "${pkgs.coreutils-prefixed}/bin/gls" + dired-use-ls-dired t)) ''; }; home.packages = with pkgs; [ |