`jq-mode` is an emacs major mode for editing jq-scripts.
- Download jq-mode.el and put it in a directory somewhere.
- Add the following to your .emacs file
(add-to-list 'load-path "/path/to/jq-mode-dir")
(autoload 'jq-mode "jq-mode.el"
"Major mode for editing jq files" t)
(add-to-list 'auto-mode-alist '("\\.jq$" . jq-mode))
Now jq-mode will load whenever you visit a file whose name ends
with .jq. Alternatively, run M-x jq-mode
in an existing
buffer containing jq commands.
If you have a problem or would like to see it get better in a specific way, feel free to drop an issue in the issue tracker. Enjoy!