mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
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:
parent
09236699e7
commit
bba53c3940
75 changed files with 80 additions and 82 deletions
|
|
@ -1,6 +1,6 @@
|
|||
## Here is an example for Java.
|
||||
##
|
||||
syntax "java" "\.java$"
|
||||
syntax "Java" "\.java$"
|
||||
color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
|
||||
color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
|
||||
color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue