a simple tree-sitter major mode for the Ziggy serialization language and Emacs>=29.
to use with straight.el
and straight-use-package
, add the following to your configuration:
(use-package ziggy-mode
:straight (ziggy-mode
:type git
:host github
:repo "robbielyman/ziggy-mode"
:branch main))
to use the ziggy
LSP with eglot
, add the following to your configuration:
(add-to-list 'eglot-server-programs
'(((ziggy-mode :language-id "ziggy")
(ziggy-schema-mode :language-id "ziggy-schema")) "ziggy" "lsp"))
NB: this assumes that ziggy
is on your PATH.