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.
Squashed '.vim/bundle/vim-markdown/' changes from da5a7ac9..8f6cb3a6
8f6cb3a6 Merge pull request #636 from KSR-Yasuda/bugfix/CodeFenceHandling 7026436c Merge pull request #660 from KSR-Yasuda/bugfix/ContainCodeInHeading 4a3ddd7d Contain `mkdCode` in `mkdHeadingContent` a657e697 docs: Correct mappings zo/zO and add za/zA (#652) 46add6c3 feat: Add (optin) support for formatting tables without borders (#643) 66ed2e14 Fix jumping to anchor 4e9b4ded docs: fix a couple of small typos in code comments 6b13e98b Highlight strikethrough text in headings 18f3af70 Highlight footnotes in headings 241161e0 Highlight bold italic text in headings 4f87df57 Highlight bold text in headings 2b9e32ec Highlight italics in headings a6a1bed7 Fix code fence handling cc82d88e Expand relative path URL using host path separator 5d3d1b6c docs: Mention need to *not* use semver support in plugin managers (#619) df4be862 Add syntax group that matches a list item checkbox `mkdListItemCheckbox` (#564) 2cb8d9d8 Merge pull request #607 from lggruspe/fix-setextoatx 3bbbaa32 Allow fenced code highlight in liquid (#609) aa7d685a Fix handling of frontmatter option (#595) 7231fa4b Allow escaped pipe (bar) characters inside TableFormat 67571a1c Fix invalid range in SetexToAtx b9c5c34a Add failing tests for SetexToAtx 926cb9a3 Add tests for HeaderDecrease and HeaderIncrease c3f83ebb Remove outdated advice for Vim plugins (#600) 8a0b4341 Fix broken link (#599) 3a964396 Disable code block syntax highlighting when syntax=OFF (#580) 9068655b Fix fenced code block syntax highlighting (#534) c031a3e6 Avoid trailing comments `-->` turning the comment into a heading (#517) 95e90840 Merge pull request #573 from StarryLeo/revert-commit-18ed14a 21c8a8b2 chore: Clue in linter about ftdetect augroups f868afae Revert "refactor: Execute autocmd in group scope" b4dc23e2 Merge pull request #571 from tomtomjhj/table-format a0467941 Add tests e82be74d Fix TableFormat for indented tables, version 2 d7038a62 Merge pull request #570 from preservim/add-ci aca1aaa9 Revert "Fix TableFormat for indented tables (#569)" 9297be2b Merge remote-tracking branch 'origin/master' into add-ci 0eb5bd6d docs(readme): Add CI workflow badges 6d5c19bf test: Make fold test NeoVIM/VIM compatible ded139ce refactor: Cleanup test script for use with NeoVIM/VIM 90ca3483 chore(ci): Add Vader workflow to run regression tests 60022432 refactor: Make variable scope explicit 18ed14af refactor: Execute autocmd in group scope 9cdd48bc refactor: Use full option names 0888ec7e refactor: Prefer single quoted strings 8f16759b refactor: Use robust operators 0cb62d8d chore(ci): Add Reviewdog workflow to lint PRs c9236dc3 chore(ci): Add vint workflow to lint vimscript 347e230c chore(tooling): Add vimscript lint configuration 50d42082 Change shortcut: MoveToCurHeader: `]c` -> `]h` (#556) 6e71e44a Markdown_EditUrlUnderCursor falls back to builtin gf (#566) 6fe1a105 Fix TableFormat for indented tables (#569) 9156bba6 Update canonical URL (forwarding in effect from original URL) 3ba557dc Drop obsolete Travis config (Travis dropped most FOSS) 8e5d86f7 Merge pull request #498 from jrwrigh/master 9497be60 fix: Remove debugging echo message 909c0e51 Merge pull request #492 from jrwrigh/master dfd92dd4 test: Add test for characters after code block lang 23a51468 Merge pull request #497 from AggroBoy/master 9513e82a tweak html tag matching for code blocks 139b6f66 Merge pull request #477 from cdelledonne/insert-toc cd46012b Merge pull request #472 from kalafut/master 3bb8e9ae Merge pull request #486 from jbriales/master cb8d46ad Fix tex syntax test for latest syntax 154b1f85 feat: Allow characters after code block language c1793167 Merge pull request #451 from yous/fix-url b0081772 Save current cursor position to jumplist before MoveToParentHeader 4528ec64 Add `:InsertToc` and `:InsertNToc` commands 8db8763e Add GetHeaderList() in ftplugin/markdown.vim 583dc6a5 Add 'mdx' to recognized file extensions c34496a6 Fix mkdInlineURL not to highlight after closing brackets
Stick [Wed, 5 Jun 2019 01:26:39 +0000 (21:26 -0400)]
document `conceal_code_blocks` in README.md
I set `conceallevel=0` in .vimrc, as well as `g:vim_markdown_conceal =
0` but code fences were still being hidden. I could not find this option
documented anywhere, so I went to the source code. Adding the
`g:vim_markdown_conceal_code_blocks = 0` fixed my problem, and I assume
other people will want to find this in the future.
John Tobin [Mon, 18 Mar 2019 22:39:43 +0000 (22:39 +0000)]
Remove user directories from runtimepath.
The default value of runtimepath includes ~/.vim and ~/.vim/after.
Configuration in those directories can interfere with tests. Remove
those directories from runtimepath to make the tests hermetic.
John Tobin [Sun, 17 Mar 2019 19:16:16 +0000 (19:16 +0000)]
Fix folding broken by other syntax highlighting.
When syntax highlighting is enabled for fenced code blocks, the syntax
highlighting of the language in the code block can overwrite folding
configuration, breaking Markdown folding. Reinitialise Markdown folding
configuration every time syntax highlighting is refreshed to ensure that
Markdown folding works.
David Briscoe [Fri, 7 Dec 2018 00:45:35 +0000 (16:45 -0800)]
Prevent repeated sourcing of syntax
Bug: Using `vim --startuptime ~/time.log name.md` would show multiple
sourcing of syntax/markdown.vim indicating unnecessary startup cost.
Cause: As of vim/vim@7d76c804af900ba6dcc4b1e45373ccab3418c6b2, vim uses
.md for markdown instead of modula2. Since vim-markdown was using `set
filetype`, it was sourcing the files a second time after vim's runtime
files had already set the filetype.
Resolution: Using `setfiletype` prevents this double sourcing. To remain
backwards compatible, we remove the .md filetype detection for modula2
on old versions.
Related to sheerun/vim-polyglot#290.
Tested .md ftdetection with vim 7.4.052 and 8.1.527.
Josh Holland [Tue, 23 Oct 2018 21:10:01 +0000 (22:10 +0100)]
Fix detection of YAML frontmatter ending with "..."
PR #374 introduced a bug which would cause any line containing exactly
three characters to be highlighted as the end of a YAML frontmatter
block; this commit fixes that, so that only three dots will end the
block.
Shane Pearman [Fri, 30 Jun 2017 00:19:54 +0000 (17:19 -0700)]
Change mkdRule match syntax to be more liberal
Consider any line beginning with 3 or more of '*', '-', or '_' with
possible spaces before and between, possibly followed by zero or more of
the previously matched symbols or spaces to be a horizontal rule.
memeplex [Sat, 25 Feb 2017 19:33:28 +0000 (16:33 -0300)]
Allow local anchors and improve buffer filename.
Now urls of the form #anchor works (by searching the -transformed-
anchor in the current buffer).
I've fixed the new buffer file naming code in two senses (and note that
both are unrelated to named anchors, but since the problem it's in the
same part of the code I decided to include the fix here):
1. The previous code only expanded the filename relative to the current
file when vim_markdown_no_extensions_in_markdown was set, but
concatenation of .md is unrelated to filename expansion.
2. The previous code was expanding relative to the home dir (:~) then
making the path absolute (:p), which made not much sense and also
produced long, absolute, buffer names. Now the full path is computed
relative to the current file but the buffer is named relative to the
current working directory (:.).