From f348b27e82a08aa3a8990fa7bc1c16a90fb439b1 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 6 May 2016 09:23:50 +0200 Subject: lexer: assume .h is ANSI C, not C++ --- vis.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vis.lua') 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", -- cgit v1.2.3