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:
ThomasR 2016-03-02 20:49:58 +01:00
parent 09236699e7
commit bba53c3940
75 changed files with 80 additions and 82 deletions

View file

@ -1,4 +1,4 @@
syntax "gitconfig" "git(config|modules)$|\.git/config$"
syntax "git-config" "git(config|modules)$|\.git/config$"
color brightcyan "\<(true|false)\>"
color cyan "^[[:space:]]*[^=]*="
@ -16,7 +16,7 @@ color ,red " +"
# A nano configuration file to enable syntax highlighting of some Git specific
# files with the GNU nano text editor (http://www.nano-editor.org)
#
syntax "git commit/tag messages" "COMMIT_EDITMSG|TAG_EDITMSG"
syntax "git-commit" "COMMIT_EDITMSG|TAG_EDITMSG"
# Commit message
color yellow ".*"
@ -50,7 +50,7 @@ color ,red "[[:space:]]+$"
# This syntax format is used for interactive rebasing
syntax "git rebase todo" "git-rebase-todo"
syntax "git-rebase-todo" "git-rebase-todo"
# Default
color yellow ".*"