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,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 ".*"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue