vis

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

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

commit e99f8b31d34fb050448a2acd4b29427df35afe12
parent 29582248fdf027120366a1bb8b4674f32b5ae12c
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Wed, 11 May 2016 15:09:52 +0200

lexer: *.cc is a C++ file extension

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

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