mlabs-haskell / lambda-buffers

LambdaBuffers toolkit for sharing types and their semantics between different languages
https://mlabs-haskell.github.io/lambda-buffers/
Apache License 2.0
29 stars 0 forks source link

Add simple Emacs mode #149

Closed t4ccer closed 8 months ago

t4ccer commented 8 months ago

Simple mode derived from Haskell mode to not write custom parsers in this rather early stage. Indentation is a bit janky but you can hit tab couple times to get what you mean. Syntax highlighting works just fine.

Can be used with straight.el or in any other way you use to import packages from git

(use-package lambda-buffers-mode
  :straight
  ( :host github
    :repo "mlabs-haskell/lambda-buffers"
    :branch "t4/add-simple-emacs" ;; remove after merge
    :files ("extras/editor/emacs/lambda-buffers-mode.el")))
bladyjoker commented 8 months ago

There's no lisp pre-commit-hooks ofc, I'll add an issue for adding smtn like that to our pre-commit-hooks https://github.com/gonewest818/elisp-lint