Skip to content

Commit 2f2ba36

Browse files
authored
Add zig (#77)
link zig-mode to zig update CHANGELOG.md
1 parent cd0ca2d commit 2f2ba36

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,3 +193,9 @@
193193
branch = master
194194
update = none
195195
ignore = dirty
196+
[submodule "repos/zig"]
197+
path = repos/zig
198+
url = https://github.com/maxxnino/tree-sitter-zig
199+
branch = main
200+
update = none
201+
ignore = dirty

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
## Unreleased
4+
- Added `zig` grammar.
45

56
## 0.11.2 - 2022-02-11
67
- Updated `python` grammar and highlighting (add support for pattern matching).

repos/zig

Submodule zig added at 93331b8

tree-sitter-langs.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ See `tree-sitter-langs-repos'."
132132
(scala-mode . scala)
133133
(swift-mode . swift)
134134
(tuareg-mode . ocaml)
135-
(typescript-mode . typescript))))
135+
(typescript-mode . typescript)
136+
(zig-mode . zig))))
136137
(cl-pushnew entry tree-sitter-major-mode-language-alist
137138
:key #'car))
138139
(advice-remove 'tree-sitter--setup #'tree-sitter-langs--init-major-mode-alist))

0 commit comments

Comments
 (0)