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 ""