✏️ 正在编辑: patch.nanorc
路径:
/usr/share/nano/patch.nanorc
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
## Here is an example for patch files. syntax patch "\.(patch|diff|debdiff)$" magic "diff output" # There is no official support for comments in patch files. comment "" # Added lines. color brightgreen "^\+.*" # Show trailing whitespace only on added lines. color ,green "[[:space:]]+$" # Context lines. color brightblue "^ .*" # Deleted lines. color brightred "^-.*" # Header lines. color magenta "^(Index:|diff)[[:blank:]].*" # File names and dates. color red "^---.*" color green "^\+\+\+.*" # Line numbers. color brightyellow "^@@.*" # Statistics. color cyan start="^---$" end="^$"
💾 保存文件
← 返回文件管理器