diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index bee4bda..d7f6e9c 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -345,7 +345,7 @@ let s:delimiterMap = { \ 'rmd': { 'left': '#' }, \ 'robots': { 'left': '#' }, \ 'rspec': { 'left': '#' }, - \ 'ruby': { 'left': '# ', 'leftAlt': '#' }, + \ 'ruby': { 'left': '#', 'leftAlt': '=begin', 'rightAlt': '=end' }, \ 'rust': { 'left': '//', 'leftAlt': '///', 'rightAlt': '///' }, \ 'sa': { 'left': '--' }, \ 'samba': { 'left': ';', 'leftAlt': '#' },