Browse files

Limit exit/abort/etc, addresses #1

  • Loading branch information...
1 parent 0b7e505 commit 7bac75049fcd6bf536d4339e4f10f9bf4a9ae1c6 @rking committed with rking@sharpsaw.org Jan 15, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 colors/detailed.vim
View
6 colors/detailed.vim
@@ -711,9 +711,6 @@ endfun
fun! s:detailed_syntax_addtions()
call s:detailed_colors()
- " Steal this back from the too-generic 'rubyControl':
- syn match detailedExits "\<\%(exit!\|\%(abort\|at_exit\|exit\|fork\|trap\)\>[?!]\@!\)"
-
" TODO - somehow make the detail{Todo,Fixme,Xxx} work for non-ruby langs.
" E.g., shTodo overrides them, so it will need something like:
" syn match rubyComment "#.*" contains=rubySharpBang,rubySpaceError,
@@ -725,6 +722,9 @@ endfun
call s:detailed_syntax_addtions() " Hrm, can this not be done with aucmd?
fun! s:ruby_syntax_and_highlights()
+ " Steal this back from the too-generic 'rubyControl':
+ syn match detailedExits "\<\%(exit!\|\%(abort\|at_exit\|exit\|fork\|trap\)\>[?!]\@!\)"
+
" The default syntax/ruby.vim gets this way wrong (only does 2 chars and is
" transparent):
syn match rubyBlockArgument "&[_[:lower:]][_[:alnum:]]*" contains=NONE display

0 comments on commit 7bac750

Please sign in to comment.