diff options
| author | 2021-12-21 07:06:13 +0200 | |
|---|---|---|
| committer | 2021-12-21 07:07:58 +0200 | |
| commit | fecea5d7a74f97d41c50734349c80062ce2e9cb6 (patch) | |
| tree | 8c84ca5c9f27dd95038658c97f996e04a4862e00 /src/Syntax | |
| parent | bugfix (diff) | |
| download | es-fecea5d7a74f97d41c50734349c80062ce2e9cb6.tar.gz es-fecea5d7a74f97d41c50734349c80062ce2e9cb6.tar.xz es-fecea5d7a74f97d41c50734349c80062ce2e9cb6.zip | |
zig fmt
Diffstat (limited to '')
| -rw-r--r-- | src/Syntax.zig | 5 | ||||
| -rw-r--r-- | src/Syntax/makefile.zig | 2 | ||||
| -rw-r--r-- | src/Syntax/zig.zig | 2 |
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 | ||
| 6 | const Syntax = @This(); | 6 | const Syntax = @This(); |
| 7 | 7 | ||
| 8 | pub const database = [_]Syntax{makefile.syntax, zig.syntax}; | 8 | pub const database = [_]Syntax{ |
| 9 | makefile.syntax, | ||
| 10 | zig.syntax, | ||
| 11 | }; | ||
| 9 | 12 | ||
| 10 | pub const Flags = struct { | 13 | pub 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 | |||
| 1 | const Syntax = @import("../Syntax.zig"); | 3 | const Syntax = @import("../Syntax.zig"); |
| 2 | 4 | ||
| 3 | pub const syntax = Syntax{ | 5 | pub 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 | |||
| 1 | const std = @import("std"); | 3 | const std = @import("std"); |
| 2 | 4 | ||
| 3 | const Syntax = @import("../Syntax.zig"); | 5 | const Syntax = @import("../Syntax.zig"); |