nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit dd25d807df6f26e1247309ca0db6a80054fd2e2f
parent fea5d7c6128e8df8bbeff1fb082c663a6ace8111
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon, 20 Apr 2020 19:20:19 +0200

syntaxes: remove some stuff that has been commented out for a long time

Diffstat:
Msyntax/asm.nanorc | 3---
Msyntax/c.nanorc | 3---
Msyntax/objc.nanorc | 3---
3 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/syntax/asm.nanorc b/syntax/asm.nanorc @@ -13,9 +13,6 @@ color brightcyan "^[[:space:]]*#[[:space:]]*(define|undef|include|ifn?def|endif| # Strings. color brightyellow "<[^= ]*>" ""(\\.|[^"])*"" -# Multiline strings. This regex is VERY resource intensive, -# and sometimes colours things that shouldn't be coloured. -###color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" # Comments. color brightblue "//.*" diff --git a/syntax/c.nanorc b/syntax/c.nanorc @@ -24,9 +24,6 @@ color cyan "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidd # Strings. In general you will want your strings and comments to come last, # because highlighting rules are applied in the order they are read in. color brightyellow ""([^"]|\\")*"" "#[[:space:]]*include[[:space:]]+<[^[:blank:]=]*>" -# Multiline strings. This regex is VERY resource intensive, -# and sometimes colours things that shouldn't be coloured. -###color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" # Preprocessor directives. color brightcyan start="^[[:space:]]*#[[:space:]]*(if(n?def)?|elif|warning|error|pragma)\>" end="(\`|[^\\])$" diff --git a/syntax/objc.nanorc b/syntax/objc.nanorc @@ -27,9 +27,6 @@ color white "\[[^][:space:]]*\]" color brightblack "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'" color brightblack "<[^= ]*>" ""(\\.|[^"])*"" color brightblue "@"(\\.|[^"])*"" -# Multiline strings. This regex is VERY resource intensive, -# and sometimes colours things that shouldn't be coloured. -###color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" # Preprocessor commands. color brightblue "^[[:space:]]*#[[:space:]]*(define|include|import|(un|ifn?)def|endif|el(if|se)|if|warning|error)"