Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 889 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 889 Bytes

emacs-prisma-mode

A quick and dirty emacs major mode for Prisma schemas.

P.S. I have quite limited time for this, so I'd be happy for good pull requests if needing features!

Yes :)

  • Syntax hilighting
  • Autoindent
  • LSP

Installation

I'm using doom-emacs, so to have the mode available I clone the repo to ~/.doom.d/emacs-prisma-mode, then in ~/.doom.d/config.el I can set:

(load! "emacs-prisma-mode/prisma-mode")

Or, you can also install as package at ~/.doom.d/packages.el

(package! prisma-mode :recipe (:host github :repo "pimeys/emacs-prisma-mode" :branch "main"))

Note: This package requires lsp-mode

(package! lsp-mode)

Screenshot

All its glory