honza/vim-snippets — pull request #257 by Knorkebrot (2013-08-04 01:52:45+00:00)
Title: fix underline length

if you're hasty and type more than three '='s/'-'s, the underline will be longer than the title above. To fix this we need to subtract the (remaining) length of the current line from the length of the title.