aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-05-06 09:23:50 +0200
committerChristian Hesse <mail@eworm.de>2016-05-06 09:23:50 +0200
commitf348b27e82a08aa3a8990fa7bc1c16a90fb439b1 (patch)
tree4c734c9bce8b8844200cafe4cb153145e6c7a27b
parentfac1f3c95b4be50332d06fcb1d1d1e9d757f9423 (diff)
downloadvis-f348b27e82a08aa3a8990fa7bc1c16a90fb439b1.tar.gz
vis-f348b27e82a08aa3a8990fa7bc1c16a90fb439b1.tar.xz
lexer: assume .h is ANSI C, not C++
-rw-r--r--vis.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis.lua b/vis.lua
index bde564f..9dbfb74 100644
--- a/vis.lua
+++ b/vis.lua
@@ -85,8 +85,8 @@ vis.filetypes = {
[".bib"] = "bibtex",
[".boo"] = "boo",
[".cs"] = "csharp",
- [".c|.cc|.C"] = "ansi_c",
- [".cpp|.cxx|.c++|.h|.hh|.hpp|.hxx|.h++"] = "cpp",
+ [".c|.cc|.C|.h"] = "ansi_c",
+ [".cpp|.cxx|.c++|.hh|.hpp|.hxx|.h++"] = "cpp",
[".ck"] = "chuck",
[".cmake|.cmake.in|.ctest|.ctest.in"] = "cmake",
[".coffee"] = "coffeescript",