diff options
author | sterni <sternenseemann@systemli.org> | 2021-10-11T13·02+0200 |
---|---|---|
committer | sterni <sternenseemann@systemli.org> | 2021-10-11T13·25+0000 |
commit | c01b9a2935e53caf8deb23240b69fc38a4b6c561 (patch) | |
tree | b985e75812f582ab6e4df60dcd2d1eb2c80bb1ec /users/sterni/emacs | |
parent | e9061b11ab12dcf60e9e3fea87ef07c65ad2ae3d (diff) |
feat(users/sterni/emacs): enable jq-mode r/2964
Change-Id: I943343af92665897e2ebc556f3984a2f8ede9a23 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3723 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'users/sterni/emacs')
-rw-r--r-- | users/sterni/emacs/default.nix | 1 | ||||
-rw-r--r-- | users/sterni/emacs/init.el | 2 |
2 files changed, 3 insertions, 0 deletions
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 |