zig-mode icon indicating copy to clipboard operation
zig-mode copied to clipboard

Zig mode for Emacs

Results 34 zig-mode issues
Sort by recently updated
recently updated
newest added

Flymake is a pretty good backend to report compiler errors to. Better than `compilation-mode`. This commit allows, if user calls `flymake-mode`, to automatically call a zig command. It is `zig...

With Emacs 29.1 being released, Tree Sitter support is now natively in Emacs. However, to use it there needs to be a dedicated major mode extending the base mode. In...

When installing the package, I get an error stating "Unmatched bracket or quote. This commit fixes it, by correctly backslashing the chararcters as perhttps://www.gnu.org/software/emacs/manual/html_node/elisp/Basic-Char-Syntax.html ']', ')' and '}' require backslash,...

Hey thanks for this! I start out with: ``` //Hey this is a really really really really really really really long line. ``` And run `fill-region` on the line and...

First of all thank you so much for this package! ❤️ I just wrote my own function to save the current buffer when I execute `zig-run` with `C-x C-r` in...

There should be a way to configure this change: ```diff diff --git a/zig-mode.el b/zig-mode.el index de7ff92..6adca7d 100644 --- a/zig-mode.el +++ b/zig-mode.el @@ -110,7 +110,7 @@ If given a SOURCE, execute...

enhancement

Addresses #89. This PR refactors the existing `zig-mode` to derive from a new generic major mode `zig-base-mode` that holds common zig major mode configuration and then introduces a new tree-sitter...

## Feature request `zig-mode` currently exposes `zig-run`, which creates an executable from the current buffer and runs it immediately. However, for bigger projects, there is usually a `buils.zig` with a...

I created a little cheatsheet with all shortcuts, to help me to memorize. I now emacs is self-exploratory, but i like it. [cheatsheet.md](https://github.com/user-attachments/files/19746354/cheatsheet.md)

Configures the adaptive-fill-regexp for zig-mode, such that other commands like fill-region can automatically determine a fill-prefix for comments. Also, adds doc comment style comments to comment-start-skip, so these commands also...