From c01b9a2935e53caf8deb23240b69fc38a4b6c561 Mon Sep 17 00:00:00 2001 From: sterni Date: Mon, 11 Oct 2021 15:02:19 +0200 Subject: feat(users/sterni/emacs): enable jq-mode Change-Id: I943343af92665897e2ebc556f3984a2f8ede9a23 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3723 Tested-by: BuildkiteCI Reviewed-by: sterni --- users/sterni/emacs/default.nix | 1 + users/sterni/emacs/init.el | 2 ++ 2 files changed, 3 insertions(+) diff --git a/users/sterni/emacs/default.nix b/users/sterni/emacs/default.nix index 5da28ccfda82..f7bdf21a025e 100644 --- a/users/sterni/emacs/default.nix +++ b/users/sterni/emacs/default.nix @@ -15,6 +15,7 @@ let epkgs.melpaPackages.adoc-mode epkgs.melpaPackages.dockerfile-mode epkgs.melpaPackages.haskell-mode + epkgs.melpaPackages.jq-mode epkgs.melpaPackages.markdown-mode epkgs.melpaPackages.nix-mode epkgs.melpaPackages.sly diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el index 13a2caa90da8..4b868cb242d1 100644 --- a/users/sterni/emacs/init.el +++ b/users/sterni/emacs/init.el @@ -152,6 +152,8 @@ :custom bqn-mode-map-prefix "C-s-") ; probably rather using C-\ (use-package yaml-mode) (use-package dockerfile-mode) +(use-package jq-mode + :config (add-to-list 'auto-mode-alist '("\\.jq\\'" . jq-mode))) (use-package rust-mode) (use-package sly :after evil -- cgit 1.4.1