zenc-mode is an unofficial Emacs major mode for the Zen-C programming language.
This is an initial version providing basic editor support for Zen-C source files.
- Syntax highlighting for keywords, types, constants, and built-ins.
- Basic indentation.
- Imenu support for navigating types, functions, and constants.
- Automatic activation for
.zcfiles. - Support for
lspandeglotviazc lsp.
(use-package zenc-mode
:vc (:url "https://github.com/mhcerri/zenc-mode" :rev :newest))Clone the repository and add it to your load-path:
(add-to-list 'load-path "/path/to/zenc-mode")
(require 'zenc-mode)Open a file with the .zc extension, or enable the mode manually:
(zenc-mode)All customization options live under the zenc group:
M-x customize-group RET zenc RET- Indentation support needs to be reworked.
- No Tree-sitter, or advanced semantic features yet.
Bug reports, fixes, and small improvements are welcome. Please open an issue or submit a pull request on GitHub.