| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3e56518 commit 4cf6a00
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,3 +28,8 @@ def foo | |||
| 28 | 28 | puts h | |
| 29 | 29 | end | |
| 30 | 30 | end | |
| 31 | + | ||
| 32 | + module X | ||
| 33 | + Class.new do | ||
| 34 | + end | ||
| 35 | + end | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -64,7 +64,7 @@ let s:ruby_deindent_keywords = | |||
| 64 | 64 | "let s:end_start_regex = '\%(^\|[^.]\)\<\%(module\|class\|def\|if\|for\|while\|until\|case\|unless\|begin\|do\)\>' | |
| 65 | 65 | " TODO: the do here should be restricted somewhat (only at end of line)? | |
| 66 | 66 | let s:end_start_regex = | |
| 67 | - \ '\%(^\s*\|[=,*/%+\-|;{]\|<<\|>>\|:\s\)\s*\zs' . | ||
| 67 | + \ '\C\%(^\s*\|[=,*/%+\-|;{]\|<<\|>>\|:\s\)\s*\zs' . | ||
| 68 | 68 | \ '\<\%(module\|class\|def\|if\|for\|while\|until\|case\|unless\|begin\):\@!\>' . | |
| 69 | 69 | \ '\|\<do:\@!\>' | |
| 70 | 70 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments