| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,7 @@ | |||
| 1 | + 2008-06-29 Tim Pope <vim@tpope.info> | ||
| 2 | + | ||
| 3 | + * syntax/ruby.vim: don't match $_foo as an invalid variable | ||
| 4 | + | ||
| 1 | 5 | 2008-04-25 Tim Pope <vim@tpope.info> | |
| 2 | 6 | ||
| 3 | 7 | * ftplugin/eruby.vim, syntax/eruby.vim: guard against recursion | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -107,7 +107,7 @@ syn region rubySymbol start="[]})\"':]\@<!:\"" end="\"" skip="\\\\\|\\\"" cont | |||
| 107 | 107 | syn match rubyBlockParameter "\h\w*" contained | |
| 108 | 108 | syn region rubyBlockParameterList start="\%(\%(\<do\>\|{\)\s*\)\@<=|" end="|" oneline display contains=rubyBlockParameter | |
| 109 | 109 | ||
| 110 | - syn match rubyInvalidVariable "$[^ A-Za-z-]" | ||
| 110 | + syn match rubyInvalidVariable "$[^ A-Za-z_-]" | ||
| 111 | 111 | syn match rubyPredefinedVariable #$[!$&"'*+,./0:;<=>?@\`~1-9]# | |
| 112 | 112 | syn match rubyPredefinedVariable "$_\>" display | |
| 113 | 113 | syn match rubyPredefinedVariable "$-[0FIKadilpvw]\>" display | |
| Back | FazBrowse Home | New Git URL |
0 commit comments