vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit bf0a2a4db1d5a475d7ffff3eb99f4d038abccc85
parent c0e99705485572944a0c2ef2c1f7ce52d4191903
Author: Christian Hesse <mail@eworm.de>
Date:   Fri,  6 May 2016 09:23:50 +0200

lexer: assume .h is ANSI C, not C++

Diffstat:
Mvis.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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",