From: Colin Sullivan Date: Mon, 20 May 2013 18:28:21 +0000 (-0700) Subject: Changed to `set`s to `setlocal`s to only affect markdown files X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/b3d1544862af672922d2f18921a0dea92f832002?ds=inline;hp=c98d8eeb4b2e492558e61aa3fd73b6955a8c1ad5 Changed to `set`s to `setlocal`s to only affect markdown files --- diff --git a/syntax/mkd.vim b/syntax/mkd.vim index 03908ee..4515801 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -110,9 +110,9 @@ HtmlHiLink mkdLinkTitle htmlString HtmlHiLink mkdDelimiter Delimiter " Automatically insert bullets -set formatoptions+=r +setlocal formatoptions+=r " Accept various markers as bullets -set comments=b:*,b:+,b:- +setlocal comments=b:*,b:+,b:- let b:current_syntax = "mkd"