diff --git a/syntax/asm.nanorc b/syntax/asm.nanorc index 525dd100..8bc217eb 100644 --- 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 index 58c97d12..53ac6efc 100644 --- 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 index 0f6dc6b3..f35f60db 100644 --- 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)"