Skip to content

damon-kwok/zetz-mode

Repository files navigation

ZetZ-mode

Emacs Logo

https://img.shields.io/github/license/damon-kwok/zetz-mode?logo=gnu&.svg https://img.shields.io/badge/Support%20Me-%F0%9F%92%97-ff69b4.svg https://melpa.org/packages/zetz-mode-badge.svg https://stable.melpa.org/packages/zetz-mode-badge.svg

An Emacs major mode for the ZetZ programming language.

  • Screenshot

screenshot.png

Features

  • [x] Syntax highlighting (font-lock)
  • [x] Indentation
  • [x] Whitespace character dsiplay
  • [x] Workspace support
  • [x] Compilation integration
  • [x] Code navigation (using imenu)
  • [x] Go to definition (using ctags)
  • [x] Code completion (using company-mode)
  • [ ] Auto format on save

Installation

  • using MELPA

This package can be obtain from MELPA or MELPA Stable. The master branch is continuously deployed to MELPA, and released versions are deployed to MELPA Stable.

M-x package-install RET zetz-mode RET

(require 'zetz-mode)
(define-key zetz-mode-map (kbd "<f6>")  'zetz-menu)
(use-package zetz-mode
  :straight (zetz-mode
             :type git
             :host github
             :repo "damon-kwok/zetz-mode"
             :files ("tokens" "zetz-mode.el"))
  :config
  :bind-keymap
  ("<f6>" . zetz-menu)
  :mode ("\\.zz\\'" . zetz-mode))