psibi / rego-mode

Emacs major mode for OPA's rego language
GNU General Public License v3.0
28 stars 3 forks source link
major-mode opa open-policy-agent rego

rego-mode

MELPA check

Emacs Major mode for working with Rego configuration language.

Features

Demo

Rego mode in Emacs

Prerequisites

Usage

It's available via MELPA and the following use-package configuration can be used:

(use-package rego-mode
  :ensure t
  :custom
  (rego-repl-executable "/home/sibi/bin/opa")
  (rego-opa-command "/home/sibi/bin/opa"))

You would have to modify the above elisp code to have appropriate paths.

License

Copyright © 2020 Sibi Prabakaran

Distributed under GNU GPL, version 3.