summaryrefslogtreecommitdiff
path: root/src/Syntax
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2021-12-21 07:06:13 +0200
committerGravatar Uko Kokņevičs2021-12-21 07:07:58 +0200
commitfecea5d7a74f97d41c50734349c80062ce2e9cb6 (patch)
tree8c84ca5c9f27dd95038658c97f996e04a4862e00 /src/Syntax
parentbugfix (diff)
downloades-fecea5d7a74f97d41c50734349c80062ce2e9cb6.tar.gz
es-fecea5d7a74f97d41c50734349c80062ce2e9cb6.tar.xz
es-fecea5d7a74f97d41c50734349c80062ce2e9cb6.zip
zig fmt
Diffstat (limited to '')
-rw-r--r--src/Syntax.zig5
-rw-r--r--src/Syntax/makefile.zig2
-rw-r--r--src/Syntax/zig.zig2
3 files changed, 8 insertions, 1 deletions
diff --git a/src/Syntax.zig b/src/Syntax.zig
index ce3f432..f29c7fc 100644
--- a/src/Syntax.zig
+++ b/src/Syntax.zig
@@ -5,7 +5,10 @@ const std = @import("std");
5 5
6const Syntax = @This(); 6const Syntax = @This();
7 7
8pub const database = [_]Syntax{makefile.syntax, zig.syntax}; 8pub const database = [_]Syntax{
9 makefile.syntax,
10 zig.syntax,
11};
9 12
10pub const Flags = struct { 13pub const Flags = struct {
11 hl_numbers: bool = false, 14 hl_numbers: bool = false,
diff --git a/src/Syntax/makefile.zig b/src/Syntax/makefile.zig
index 4f73a2c..3a936e8 100644
--- a/src/Syntax/makefile.zig
+++ b/src/Syntax/makefile.zig
@@ -1,3 +1,5 @@
1// Please don't zig fmt this
2
1const Syntax = @import("../Syntax.zig"); 3const Syntax = @import("../Syntax.zig");
2 4
3pub const syntax = Syntax{ 5pub const syntax = Syntax{
diff --git a/src/Syntax/zig.zig b/src/Syntax/zig.zig
index 653fb1b..d0bf60c 100644
--- a/src/Syntax/zig.zig
+++ b/src/Syntax/zig.zig
@@ -1,3 +1,5 @@
1// Please don't zig fmt this
2
1const std = @import("std"); 3const std = @import("std");
2 4
3const Syntax = @import("../Syntax.zig"); 5const Syntax = @import("../Syntax.zig");