Skip to content

Commit

Permalink
Merge pull request #310 from arrufat/add-zig-support
Browse files Browse the repository at this point in the history
Add Zig support
  • Loading branch information
genivia-inc authored Nov 6, 2023
2 parents a6cf5f1 + eb27863 commit c08ba4f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4636,7 +4636,7 @@ in markdown:
`rust', `scala', `scheme', `shell', `Shell', `smalltalk', `sql',
`svg', `swift', `tcl', `tex', `text', `tiff', `Tiff', `tt',
`typescript', `verilog', `vhdl', `vim', `xml', `Xml', `yacc',
`yaml'.
`yaml', 'zig'.

--tabs[=NUM]
Set the tab size to NUM to expand tabs for option -k. The value
Expand Down
2 changes: 1 addition & 1 deletion man/ugrep.1
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ file types can be (where \fB\-t\fRlist displays a detailed list):
`scala', `scheme', `shell', `Shell', `smalltalk', `sql', `svg',
`swift', `tcl', `tex', `text', `tiff', `Tiff', `tt',
`typescript', `verilog', `vhdl', `vim', `xml', `Xml', `yacc',
`yaml'.
`yaml', 'zig'.
.TP
\fB\-\-tabs\fR[=\fINUM\fR]
Set the tab size to NUM to expand tabs for option \fB\-k\fR. The value of
Expand Down
1 change: 1 addition & 0 deletions src/ugrep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4483,6 +4483,7 @@ const Type type_table[] = {
{ "Xml", "xml,xsd,xsl,xslt,wsdl,rss,svg,ent,plist", NULL, "<\\?xml " },
{ "yacc", "y", NULL, NULL },
{ "yaml", "yaml,yml", NULL, NULL },
{ "zig", "zig,zon", NULL, NULL },
{ NULL, NULL, NULL, NULL }
};

Expand Down

0 comments on commit c08ba4f

Please sign in to comment.