Rename syntax definitions
Duplicate syntax definition names may cause problems. Since nano comes with predefined all-lowercase syntax definitions, we use uppercase letters everywhere to reduce the risk of future conflicts
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@
|
||||
##
|
||||
## https://github.com/geomic/ERB-And-More-Code-Highlighting-for-nano
|
||||
|
||||
syntax "erb" "\.erb$" "\.rhtml$"
|
||||
syntax "ERB" "\.erb$" "\.rhtml$"
|
||||
color blue start="<" end=">"
|
||||
color white start="<%" end="%>"
|
||||
color red "&[^;[[:space:]]]*;"
|
||||
|
||||
Reference in New Issue
Block a user