✏️ 编辑:patch.nanorc
路径:
/usr/share/nano/patch.nanorc
大小:600 B · 修改:2020-06-10 09:21:55 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
## Syntax highlighting for patch and diff 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="^$"
💾 保存
取消
保存为 UTF-8,换行统一为 LF