From: Ciro Santilli Date: Sat, 14 Mar 2015 09:12:08 +0000 (+0100) Subject: Merge pull request #178 from cirosantilli/readme-format X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/a8c9b452da759857065191888b70f216ef698a8e?hp=b4bdf54aa166b991fbd49bf4b3a4d7009e035414 Merge pull request #178 from cirosantilli/readme-format Improve README formatting --- diff --git a/indent/mkd.vim b/indent/mkd.vim index 21b8397..68e385a 100755 --- a/indent/mkd.vim +++ b/indent/mkd.vim @@ -3,7 +3,6 @@ let b:did_indent = 1 setlocal indentexpr=GetMkdIndent() setlocal nolisp -setlocal nosmartindent setlocal autoindent " Only define the function once diff --git a/test/map.vader b/test/map.vader index 0153269..6cf0cee 100644 --- a/test/map.vader +++ b/test/map.vader @@ -60,3 +60,16 @@ Execute (]c): AssertEqual line('.'), 3 normal ]c AssertEqual line('.'), 1 + +Given mkd; +# a + +Execute (Toc does not set nomodifiable on other files): + " Sanity check. + Assert &modifiable + + :Toc + :lclose + :edit a + + Assert &modifiable