From aaee778ba512f078cea4b003898144ed45ef8e3c Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Wed, 18 Dec 2019 22:08:43 -0500 Subject: [PATCH] - syntax: Add a few more file endings --- c.nanorc | 2 +- xml.nanorc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/c.nanorc b/c.nanorc index 22ffea6..5a521d3 100644 --- a/c.nanorc +++ b/c.nanorc @@ -1,6 +1,6 @@ ## Here is an example for C/C++. ## -syntax "C" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" "\.(def)$" +syntax "C" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" "\.(def)$" "\.ino" magic "^(C|C\+\+) (source|program)" comment "//" color brightred "\<[A-Z_][0-9A-Z_]+\>" diff --git a/xml.nanorc b/xml.nanorc index 710e166..809a048 100644 --- a/xml.nanorc +++ b/xml.nanorc @@ -1,7 +1,7 @@ ## Here is an example for xml files. ## -syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng|mei|musicxml)$" +syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng|vue|mei|musicxml)$" header "<\?xml.*version=.*\?>" magic "(XML|SGML) (sub)?document" comment ""