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
-2
@@ -1,10 +1,9 @@
|
||||
## Here is an example for nanorc files.
|
||||
##
|
||||
syntax "conf" "\.c[o]?nf$"
|
||||
syntax "Conf" "\.c[o]?nf$"
|
||||
## Possible errors and parameters
|
||||
## Strings
|
||||
icolor white ""(\\.|[^"])*""
|
||||
## Comments
|
||||
icolor brightblue "^[[:space:]]*#.*$"
|
||||
icolor cyan "^[[:space:]]*##.*$"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user