Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve Vimscript definitions

  • Loading branch information...
commit c154bcf8e91f8501bda52356e67513bd0ef49e84 1 parent c64d446
@AndrewRadev authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  plugin/whitespaste.vim
View
1  plugin/whitespaste.vim
@@ -39,6 +39,7 @@ autocmd FileType vim let b:whitespaste_linewise_definitions = {
\ ],
\ 'bottom': [
\ { 'target_line': -1, 'blank_lines': 0 },
+ \ { 'target_text': '^\s*end\%(function\|while\|for\|if\)\>', 'blank_lines': 0 },
\ { 'pasted_text': '^\s*end\%(function\|while\|for\|if\)\>', 'blank_lines': 1 },
\ ]
\ }
Please sign in to comment.
Something went wrong with that request. Please try again.