aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-05-11 15:09:52 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-05-11 15:09:52 +0200
commitcbbe7d3aeb069c8e77703829a9ef3863c605f9d9 (patch)
treea74e38370be59bcd95e6cbcc682f27f8ef09af35
parentd5e17656a4ba6575db05df2d6a89e933670623dc (diff)
downloadvis-cbbe7d3aeb069c8e77703829a9ef3863c605f9d9.tar.gz
vis-cbbe7d3aeb069c8e77703829a9ef3863c605f9d9.tar.xz
lexer: *.cc is a C++ file extension
-rw-r--r--vis.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis.lua b/vis.lua
index fa3529b..b2e351d 100644
--- a/vis.lua
+++ b/vis.lua
@@ -90,14 +90,14 @@ vis.filetypes = {
[".boo"] = "boo",
[".bsh|.java"] = "java",
[".caml|.ml|.mli|.mll|.mly"] = "caml",
- [".c|.cc|.C|.h"] = "ansi_c",
+ [".c|.C|.h"] = "ansi_c",
[".cfg|.cnf|.inf|.ini|.reg"] = "ini",
[".changes|.st|.sources"] = "smalltalk",
[".ck"] = "chuck",
[".cl|.el|.lisp|.lsp"] = "lisp",
[".cmake|.cmake.in|.ctest|.ctest.in"] = "cmake",
[".coffee"] = "coffeescript",
- [".cpp|.cxx|.c++|.hh|.hpp|.hxx|.h++"] = "cpp",
+ [".cpp|.cxx|.c++|.cc|.hh|.hpp|.hxx|.h++"] = "cpp",
[".cs"] = "csharp",
[".css"] = "css",
[".cu|.cuh"] = "cuda",