rc: remove spurious tabs
This makes it easier to be consistent. Also replace "<<-EOF" by "<<EOF", since the former only does trims tabs, not spaces.
This commit is contained in:
parent
787ff5d002
commit
3ab2b98ec3
|
@ -12,7 +12,7 @@ evaluate-commands %sh{
|
|||
grey_dark_3="rgb:424242"
|
||||
grey_dark_4="rgb:212121"
|
||||
|
||||
cat <<- EOF
|
||||
cat <<EOF
|
||||
|
||||
# For Code
|
||||
set-face global keyword ${grey_dark_2}
|
||||
|
|
|
@ -70,7 +70,7 @@ evaluate-commands %sh{
|
|||
dark_grey="rgb:555555"
|
||||
|
||||
# NOTE: Do not use any color that hasn't been defined above (no hardcoding)
|
||||
cat <<- EOF
|
||||
cat <<EOF
|
||||
|
||||
# For Code
|
||||
set-face global keyword ${vibrant_blue}
|
||||
|
|
|
@ -70,7 +70,7 @@ evaluate-commands %sh{
|
|||
dark_grey="rgb:555555"
|
||||
|
||||
# NOTE: Do not use any color that hasn't been defined above (no hardcoding)
|
||||
cat <<- EOF
|
||||
cat <<EOF
|
||||
|
||||
# For Code
|
||||
set-face global keyword ${muted_indigo}
|
||||
|
|
|
@ -38,7 +38,7 @@ evaluate-commands %sh¶
|
|||
id4="(?:$id\.)?(?:$id\.)?(?:$id\.)?$id" # type.type.type.id
|
||||
type=":\s*(specialize\s+)?(?:(array\s+of\s+)?$id2)" # 1:attribute 2:keyword 3:module 4:type
|
||||
|
||||
cat <<-EOF
|
||||
cat <<EOF
|
||||
# routine without parameters
|
||||
add-highlighter shared/pascal/code/simple_routine regex \
|
||||
"\b(?i)(function|procedure|constructor|destructor|operator)\s+$id4(?:$type)?" \
|
||||
|
@ -60,7 +60,7 @@ evaluate-commands %sh¶
|
|||
x="(?:$id,\s*)?"
|
||||
|
||||
for r in property routine; do
|
||||
cat <<-EOF
|
||||
cat <<EOF
|
||||
add-highlighter shared/pascal/$r/parameters/default default-region group
|
||||
add-highlighter shared/pascal/$r/parameters/default/ regex \
|
||||
"(?i)(?:(constref|const|var|out|univ)\s+)?$x$x$x$x$x$id(?:$type)?" \
|
||||
|
@ -69,7 +69,7 @@ evaluate-commands %sh¶
|
|||
EOF
|
||||
done
|
||||
|
||||
cat <<-EOF
|
||||
cat <<EOF
|
||||
add-highlighter shared/pascal/routine/default/ regex \
|
||||
"\b(?i)(function|procedure|constructor|destructor|operator)(?:\s+$id4)?" \
|
||||
1:keyword 2:type 3:type 4:type 5:function
|
||||
|
@ -80,7 +80,7 @@ evaluate-commands %sh¶
|
|||
EOF
|
||||
|
||||
for r in property/default simple_property; do
|
||||
cat <<-EOF
|
||||
cat <<EOF
|
||||
add-highlighter shared/pascal/$r/ regex "\b(?i)(property)" 1:keyword
|
||||
add-highlighter shared/pascal/$r/type regex ":\s*$id" 1:type
|
||||
|
||||
|
@ -91,7 +91,7 @@ evaluate-commands %sh¶
|
|||
done
|
||||
|
||||
for r in pascal pascal/routine pascal/routine/parameters pascal/property; do
|
||||
cat <<-EOF
|
||||
cat <<EOF
|
||||
# Example string: 'You''re welcome!'
|
||||
add-highlighter shared/$r/string region \
|
||||
-recurse %{(?<!')('')+(?!')} %{'} %{'(?!')|\$} group
|
||||
|
@ -164,7 +164,7 @@ evaluate-commands %sh¶
|
|||
# Replace spaces with a pipe
|
||||
join() { eval set -- $1; IFS='|'; echo "$*"; }
|
||||
|
||||
cat <<-EOF
|
||||
cat <<EOF
|
||||
add-highlighter shared/pascal/code/keywords regex \
|
||||
(?i)(?<!&)\b($(join "$reserved $keywords")|file\s+of)\b 0:keyword
|
||||
add-highlighter shared/pascal/code/modifiers regex \
|
||||
|
@ -174,7 +174,7 @@ evaluate-commands %sh¶
|
|||
EOF
|
||||
|
||||
for r in code routine/parameters/default routine/default property/default simple_property; do
|
||||
cat <<-EOF
|
||||
cat <<EOF
|
||||
add-highlighter shared/pascal/$r/ regex '[.:=<>@^*/+-]' 0:operator
|
||||
add-highlighter shared/pascal/$r/constants regex \
|
||||
\b(?i)($(join "$constants"))\b 0:value
|
||||
|
|
Loading…
Reference in New Issue
Block a user