]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Improve code block syntax and fix test failures
authorHiroshi Shirosaki <h.shirosaki@gmail.com>
Thu, 7 Jan 2016 08:57:00 +0000 (17:57 +0900)
committerHiroshi Shirosaki <h.shirosaki@gmail.com>
Wed, 13 Jan 2016 16:11:57 +0000 (01:11 +0900)
commit824e85c3e7b40466c2a375e37c7e81a0584c7a79
tree41844d509029bc18333f1a46c81992ff2a296ce5
parenta5786589c3c49199828d63ea403238ca95531d0b
Improve code block syntax and fix test failures

- Remove syntax match of mkdCodeStart and mkdCodeEnd to work syntax
  mkdCode properly without a language specifier.

- Add highlight setting of mkdCodeStart and mkdCodeEnd.

- Change the regexp pattern to use c++ language specifier.

- Add viml language.

- Add tests for code block syntax.

- Fixed `is_mkdCode(lnum)` to work with other than mkdCode, but it
  doesn't work as expected in some cases.
after/ftplugin/markdown.vim
ftplugin/markdown.vim
indent/markdown.vim
syntax/markdown.vim
test/syntax.vader