From: Ben Williams Date: Thu, 19 Sep 2013 14:37:53 +0000 (-0700) Subject: Merge pull request #36 from colinsullivan/master X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/ce737b0660a0b6d8cc3bf94438e2c74642c96670?hp=12ec4c1fbf9b99275e138682b1078f7e15c50258 Merge pull request #36 from colinsullivan/master Automatically insert bullets when return is pressed in insert mode. --- diff --git a/syntax/mkd.vim b/syntax/mkd.vim index 20b1d3a..4515801 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -109,6 +109,11 @@ HtmlHiLink mkdLinkTitle htmlString HtmlHiLink mkdDelimiter Delimiter +" Automatically insert bullets +setlocal formatoptions+=r +" Accept various markers as bullets +setlocal comments=b:*,b:+,b:- + let b:current_syntax = "mkd" delcommand HtmlHiLink