about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-19T14·22+0000
committerVincent Ambo <tazjin@google.com>2019-12-19T14·23+0000
commit166aff23bcffc2afa5ca5ac475f5866b759be443 (patch)
treea3df280a2ae7831a497e3d151268972d3dfbad64 /tools
parentc2f97577f700d3ac89a6192e5bf394ee1b141a81 (diff)
fix(nix-util): Correctly enable lexical scope in this library r/198
Diffstat (limited to 'tools')
-rw-r--r--tools/emacs-pkgs/nix-util/nix-util.el2
-rw-r--r--tools/emacs/config/init.el1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/emacs-pkgs/nix-util/nix-util.el b/tools/emacs-pkgs/nix-util/nix-util.el
index f37cdcc710..533e7e6f34 100644
--- a/tools/emacs-pkgs/nix-util/nix-util.el
+++ b/tools/emacs-pkgs/nix-util/nix-util.el
@@ -1,4 +1,4 @@
-;;; nix-util.el --- Utilities for dealing with Nix code. -*- lexical-binding: true; -*-
+;;; nix-util.el --- Utilities for dealing with Nix code. -*- lexical-binding: t; -*-
 ;;
 ;; Copyright (C) 2019 Google Inc.
 ;;
diff --git a/tools/emacs/config/init.el b/tools/emacs/config/init.el
index 3ca329ce50..d601efa67d 100644
--- a/tools/emacs/config/init.el
+++ b/tools/emacs/config/init.el
@@ -168,6 +168,7 @@
   :hook ((nix-mode . (lambda ()
                        (setq indent-line-function #'nix-indent-line)))))
 
+(use-package nix-util)
 (use-package nginx-mode)
 (use-package rust-mode)
 (use-package terraform-mode)