diff --git a/arduino.nanorc b/arduino.nanorc index 1c60033..1d73c1f 100644 --- a/arduino.nanorc +++ b/arduino.nanorc @@ -109,7 +109,7 @@ color brightyellow "<[^= ]*>" ""(\\.|[^"])*"" color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" ## Comments -color brightblue "//.*" +color brightblue " //.*" color brightblue start="/\*" end="\*/" ## Trailing whitespace diff --git a/asm.nanorc b/asm.nanorc index 1273b8e..9cbd63f 100644 --- a/asm.nanorc +++ b/asm.nanorc @@ -11,7 +11,7 @@ color brightcyan "^[[:space:]]*#[[:space:]]*(define|undef|include|ifn?def|endif| color brightyellow "<[^= ]*>" ""(\\.|[^"])*"" color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" ## Highlight comments -color brightblue "//.*" +color brightblue " //.*" color brightblue start="/\*" end="\*/" ## Highlight trailing whitespace color ,green "[[:space:]]+$" diff --git a/c.nanorc b/c.nanorc index 2550299..07acf78 100644 --- a/c.nanorc +++ b/c.nanorc @@ -35,7 +35,7 @@ color cyan "<[^= ]*>" ""(\\.|[^"])*"" #color cyan start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" ## Comment highlighting -color brightblue "//.*" +color brightblue " //.*" color brightblue start="/\*" end="\*/" ## Trailing whitespace diff --git a/js.nanorc b/js.nanorc index 648d48e..7388c55 100644 --- a/js.nanorc +++ b/js.nanorc @@ -49,4 +49,4 @@ color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]" ## Comments color brightblue start="/\*" end="\*/" -color brightblue "//.*$" +color brightblue " //.*$" diff --git a/pov.nanorc b/pov.nanorc index f8cb8b5..d9dab52 100644 --- a/pov.nanorc +++ b/pov.nanorc @@ -11,5 +11,5 @@ color brightred "\<(fog|object|camera)\>" color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)" color brightmagenta "\<(union|group|subgroup)\>" ## Comment highlighting -color brightblue "//.*" +color brightblue " //.*" color brightblue start="/\*" end="\*/" diff --git a/rust.nanorc b/rust.nanorc index 3d3c17a..6ad2149 100644 --- a/rust.nanorc +++ b/rust.nanorc @@ -26,7 +26,7 @@ color green start="\".*\\$" end=".*\"" color green start="r#+\"" end="\"#+" # Comments -color blue "//.*" +color blue " //.*" color blue start="/\*" end="\*/" # Attributes diff --git a/scala.nanorc b/scala.nanorc index 4a11006..1d7631f 100644 --- a/scala.nanorc +++ b/scala.nanorc @@ -6,7 +6,7 @@ color red "\<(match|val|var|break|case|catch|continue|default|do|else|finally|fo color cyan "\<(def|object|case|trait|lazy|implicit|abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile|sealed)\>" color red ""[^"]*"" color yellow "\<(true|false|null)\>" -color blue "//.*" +color blue " //.*" color blue start="/\*" end="\*/" color brightblue start="/\*\*" end="\*/" color ,green "[[:space:]]+$" diff --git a/swift.nanorc b/swift.nanorc index d1af78e..f10d22e 100644 --- a/swift.nanorc +++ b/swift.nanorc @@ -55,8 +55,8 @@ color red ""[^"]*"" color white start="\\\(" end="\)" # Comments -color green "//.*" -color brightgreen "///.*" +color green " //.*" +color brightgreen " ///.*" color green start="/\*\*" end="\*/" color green "[/**]" diff --git a/ts.nanorc b/ts.nanorc index f233465..8cbd8cd 100644 --- a/ts.nanorc +++ b/ts.nanorc @@ -36,7 +36,7 @@ color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]" ## Comments color magenta start="/\*" end="\*/" -color magenta "//.*$" +color magenta " //.*$" ## Trailing whitespace color ,green "[[:space:]]+$" diff --git a/verilog.nanorc b/verilog.nanorc index 820b53d..f2a48f5 100644 --- a/verilog.nanorc +++ b/verilog.nanorc @@ -74,7 +74,7 @@ color brightyellow ""([^"]|\\")*"" "<[^[:blank:]=]*>" ###color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*"" # Comments. -color brightblue "//.*" +color brightblue " //.*" color brightblue start="/\*" end="\*/" # Reminders.