Skip to content

Commit 32f3d3e

Browse files
ian-r-rosemarijnh
authored andcommitted
Add "tex" to list of extensions for LaTeX mode.
In my experience, `.tex` is a much more common extension for LaTeX documents.
1 parent 0a625b2 commit 32f3d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mode/meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
{name: "Stylus", mime: "text/x-styl", mode: "stylus", ext: ["styl"]},
139139
{name: "Swift", mime: "text/x-swift", mode: "swift", ext: ["swift"]},
140140
{name: "sTeX", mime: "text/x-stex", mode: "stex"},
141-
{name: "LaTeX", mime: "text/x-latex", mode: "stex", ext: ["text", "ltx"], alias: ["tex"]},
141+
{name: "LaTeX", mime: "text/x-latex", mode: "stex", ext: ["text", "ltx", "tex"], alias: ["tex"]},
142142
{name: "SystemVerilog", mime: "text/x-systemverilog", mode: "verilog", ext: ["v", "sv", "svh"]},
143143
{name: "Tcl", mime: "text/x-tcl", mode: "tcl", ext: ["tcl"]},
144144
{name: "Textile", mime: "text/x-textile", mode: "textile", ext: ["textile"]},

0 commit comments

Comments
 (0)