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:
Ciro Santilli 六四事件 法轮功 [Mon, 4 May 2015 14:24:39 +0000 (16:24 +0200)]
Merge pull request #193 from cirosantilli/toc
Add TOC to README
Ciro Santilli 六四事件 法轮功 [Mon, 4 May 2015 14:22:48 +0000 (16:22 +0200)]
Merge pull request #207 from cirosantilli/not-hasmapto
Allow users to disable individual maps with hasmapto checks
Ciro Santilli 六四事件 法轮功 [Mon, 4 May 2015 14:14:30 +0000 (16:14 +0200)]
Allow users to disable individual maps with hasmapto checks
Hiroshi Shirosaki [Fri, 24 Apr 2015 06:06:24 +0000 (15:06 +0900)]
Merge pull request #199 from KazuakiM/master
Update Markdown_GetUrlForPosition function b: to s:
KazuakiM [Thu, 23 Apr 2015 14:21:11 +0000 (23:21 +0900)]
Update Markdown_GetUrlForPosition function b: to s:
Ciro Santilli 六四事件 法轮功 [Fri, 17 Apr 2015 08:12:34 +0000 (10:12 +0200)]
Add TOC to README
Ciro Santilli 六四事件 法轮功 [Thu, 16 Apr 2015 11:59:22 +0000 (13:59 +0200)]
Merge pull request #184 from cirosantilli/ftplugin-style
Improve style of ftplugin/mkd.vim
Ciro Santilli 六四事件 法轮功 [Thu, 16 Apr 2015 11:56:12 +0000 (13:56 +0200)]
Improve style of ftplugin/mkd.vim
- remove Markdown_ prefix from s: functions
- always add one empty line between commands and methods
Ciro Santilli 六四事件 法轮功 [Thu, 16 Apr 2015 09:23:02 +0000 (11:23 +0200)]
Merge pull request #185 from cirosantilli/rm-parenthesis-from-plug
Remove parenthesis from <Plug> maps
Ciro Santilli [Thu, 16 Apr 2015 09:09:58 +0000 (11:09 +0200)]
Remove parenthesis from <Plug> maps
Ciro Santilli 六四事件 法轮功 [Thu, 16 Apr 2015 08:44:24 +0000 (10:44 +0200)]
Merge pull request #183 from cirosantilli/gx
gx works from anywhere inside Markdown links
Ciro Santilli [Mon, 23 Feb 2015 07:05:46 +0000 (08:05 +0100)]
gx works from anywhere inside Markdown links.
Fix #99.
Ciro Santilli [Sat, 14 Mar 2015 09:12:55 +0000 (10:12 +0100)]
Merge pull request #177 from cirosantilli/readme-h1
Change the README h1 to "Vim Markdown"
Ciro Santilli [Sat, 14 Mar 2015 09:12:08 +0000 (10:12 +0100)]
Merge pull request #178 from cirosantilli/readme-format
Improve README formatting
Ciro Santilli [Sat, 21 Feb 2015 14:52:02 +0000 (15:52 +0100)]
Merge pull request #179 from cirosantilli/toc-nomodifiable-test2
Add test for Toc nomodifiable #170
Ciro Santilli [Sat, 21 Feb 2015 10:22:22 +0000 (11:22 +0100)]
Add test for Toc nomodifiable #170
Ciro Santilli [Sat, 21 Feb 2015 10:47:02 +0000 (11:47 +0100)]
Change the README h1 to "Vim Markdown"
Ciro Santilli [Sat, 21 Feb 2015 10:45:50 +0000 (11:45 +0100)]
Improve README formatting
Ciro Santilli [Sat, 21 Feb 2015 10:31:02 +0000 (11:31 +0100)]
Merge pull request #168 from cirosantilli/rm-smartindent
Remove nosmartindent: indentexpr overrules it.
Ciro Santilli [Sat, 21 Feb 2015 10:24:22 +0000 (11:24 +0100)]
Merge pull request #170 from sim590/fix-toc-nomodifiable
Prevent setting other buffers to nomodifiable.
Fix #169
Simon Désaulniers [Mon, 2 Feb 2015 08:06:23 +0000 (03:06 -0500)]
prevent setting other buffers to nomodifiable
Ciro Santilli [Sun, 25 Jan 2015 22:38:57 +0000 (23:38 +0100)]
Remove nosmartindent: indentexpr overrules it.
Ciro Santilli [Fri, 2 Jan 2015 21:26:47 +0000 (22:26 +0100)]
Merge pull request #158 from nybblr/nybblr/add-tilde-code-blocks
Add tilde-fenced code blocks.
Jonathan Martin [Fri, 2 Jan 2015 21:14:06 +0000 (16:14 -0500)]
Add tilde-fenced code blocks.
Ciro Santilli [Sun, 21 Dec 2014 09:38:06 +0000 (10:38 +0100)]
Merge pull request #151 from cirosantilli/use-default-foldelvel-mechanism
Remove automatic setting of foldlevel
Ciro Santilli [Sun, 7 Dec 2014 18:52:06 +0000 (19:52 +0100)]
Remove automatic setting of foldlevel
Vim already has a well known way of dealing with this:
let's not create another configuration which only raises
the entry barrier.
Ciro Santilli [Sun, 7 Dec 2014 17:52:29 +0000 (18:52 +0100)]
Merge pull request #150 from cirosantilli/undo-nore
Undo noremap, add header map tests
Ciro Santilli [Sun, 7 Dec 2014 17:44:59 +0000 (18:44 +0100)]
Undo noremap, add header map tests
Reverts #141 which @cirosantilli wrongfully merged.
Add regression tests that would have prevented that.
Correction pointed out by @shanesmith at #147.
Ciro Santilli [Fri, 21 Nov 2014 08:25:04 +0000 (00:25 -0800)]
Merge pull request #141 from blueyed/use-noremap
Use `noremap` for mappings
Daniel Hahler [Sun, 16 Nov 2014 17:27:10 +0000 (18:27 +0100)]
Use `noremap` for mappings
Ciro Santilli [Mon, 6 Oct 2014 10:34:54 +0000 (12:34 +0200)]
Merge pull request #135 from cirosantilli/paren2
Fix () [] were rendered as links when not in link 2
Ciro Santilli [Mon, 6 Oct 2014 10:27:28 +0000 (12:27 +0200)]
Fix () [] were rendered as links when not in link
Ciro Santilli [Mon, 6 Oct 2014 10:05:22 +0000 (12:05 +0200)]
Merge pull request #121 from cirosantilli/autolink
Highlight angle braced hyperlinks.
Ciro Santilli [Mon, 6 Oct 2014 10:03:23 +0000 (12:03 +0200)]
Merge pull request #132 from cirosantilli/update-syn-header
Remove outdated fields from syntax header.
Ciro Santilli [Mon, 6 Oct 2014 10:02:52 +0000 (12:02 +0200)]
Merge pull request #133 from cirosantilli/better-bold-italic-test
Improve bold and italic tests.
Ciro Santilli [Mon, 6 Oct 2014 10:02:20 +0000 (12:02 +0200)]
Merge pull request #134 from cirosantilli/readme-uniform-codeblocks
Use a single code block style on README.
Ciro Santilli [Fri, 3 Oct 2014 20:48:40 +0000 (22:48 +0200)]
Merge pull request #131 from bjpbakker/master
Respect global fold config
Bart Bakker [Fri, 3 Oct 2014 14:44:34 +0000 (16:44 +0200)]
Respect Vim's global fold config
Deleted overriding global fold configuration for markdown buffers and
improved README on purpose of vim_markdown_folding_disabled.
Ciro Santilli [Fri, 5 Sep 2014 23:17:14 +0000 (01:17 +0200)]
Highlight angle braced hyperlinks.
Also fix autolinks without angle braces which
were not being highlighted on top level.
Ciro Santilli [Mon, 29 Sep 2014 08:42:58 +0000 (10:42 +0200)]
Use a single code block style on README.
Ciro Santilli [Mon, 29 Sep 2014 08:43:27 +0000 (10:43 +0200)]
Merge pull request #124 from cirosantilli/front
Support YAML frontmatter headers v2.
Ciro Santilli [Sun, 7 Sep 2014 15:17:09 +0000 (17:17 +0200)]
Patch YAML frontmatter pull request.
Ivo Jimenez [Wed, 12 Feb 2014 18:42:55 +0000 (10:42 -0800)]
Support YAML headers
Ciro Santilli [Mon, 29 Sep 2014 08:00:08 +0000 (10:00 +0200)]
Improve bold and italic tests.
Ciro Santilli [Mon, 29 Sep 2014 07:42:27 +0000 (09:42 +0200)]
Merge pull request #125 from cirosantilli/remove-useless-line
Remove useless line in Toc funciton.
Ciro Santilli [Mon, 29 Sep 2014 07:40:35 +0000 (09:40 +0200)]
Remove outdated fields from syntax header.
Ciro Santilli [Mon, 29 Sep 2014 07:35:58 +0000 (09:35 +0200)]
Merge pull request #123 from cirosantilli/math
Add LateX $ and $$ math support.
Ciro Santilli [Sat, 6 Sep 2014 14:02:30 +0000 (16:02 +0200)]
Add LateX $ and $$ math support.
Ciro Santilli [Sun, 28 Sep 2014 20:42:04 +0000 (22:42 +0200)]
Merge pull request #122 from cirosantilli/paren
Fix parenthesis () and square brackets [] that were rendered as links when not in link.
Ciro Santilli [Mon, 8 Sep 2014 09:45:08 +0000 (11:45 +0200)]
Fix () [] were rendered as links when not in link.
Ciro Santilli [Sun, 28 Sep 2014 19:32:39 +0000 (21:32 +0200)]
Merge pull request #128 from cirosantilli/unit-test
Add unit tests and travis support.
Ciro Santilli [Sun, 7 Sep 2014 15:54:58 +0000 (17:54 +0200)]
Add unit tests and travis support.
Ciro Santilli [Sun, 7 Sep 2014 16:02:22 +0000 (18:02 +0200)]
Remove useless line in toc function.
Ciro Santilli [Sun, 7 Sep 2014 16:01:43 +0000 (18:01 +0200)]
Merge pull request #103 from fmoralesc/patch-1
Toc: Pass errors if no atx headers are processed.
Hiroshi Shirosaki [Thu, 4 Sep 2014 05:31:15 +0000 (14:31 +0900)]
Merge pull request #117 from roggan87/master
Automatically continue blockquote on line break
Robert Rosman [Mon, 1 Sep 2014 08:53:59 +0000 (10:53 +0200)]
Automatically continue blockquote on line break
This is accomplished by treating `>` as a comment marker.
deris0126 [Sat, 14 Jun 2014 08:47:13 +0000 (17:47 +0900)]
Fix indent after list items
1. Fix not only *+- but also \ matched
Need not escape inside [] because backslash codes do not work inside [].
So pattern [\*+-] match also \.
2. Fix not only list but also horizontal are indented
If only space and three '*' or '-' character are in the line,
this line means horizontal item.
If current line is below horizontal item, it need not to indent.
Following example is horizontal item.
---
***
- - -
* * *
And list item must be specified space after [*-+].
Following example is list item.
* foo
- bar
+ baz
But following example is not list item.
*foo
-bar
+baz
Add indent test file for above bugs.
Fix #90
Hiroshi Shirosaki [Mon, 1 Sep 2014 05:42:38 +0000 (14:42 +0900)]
Use getloclist() for location list of :Toc
:Toc causes errors because getqflist() returns empty for location
list.
Fix #108
Ciro Santilli [Sat, 30 Aug 2014 14:22:30 +0000 (16:22 +0200)]
Merge pull request #110 from cirosantilli/fix-header-increase
Fix header increase and decrease.
Ciro Santilli [Fri, 25 Jul 2014 11:15:17 +0000 (13:15 +0200)]
Fix header increase and decrease.
Ciro Santilli [Fri, 25 Jul 2014 09:53:10 +0000 (11:53 +0200)]
Merge pull request #108 from cirosantilli/lopen
Use location for :Toc list instead of quickfix.
Ciro Santilli [Tue, 8 Jul 2014 08:40:06 +0000 (10:40 +0200)]
Use location for :Toc list instead of quickfix.
Ciro Santilli [Fri, 25 Jul 2014 09:50:01 +0000 (11:50 +0200)]
Merge pull request #107 from cirosantilli/list-setex-mix
Fix toc consfuses hyphen list with Setex header.
Ciro Santilli [Tue, 8 Jul 2014 08:36:13 +0000 (10:36 +0200)]
Fix toc consfuses hyphen list with Setex header.
Fix #100.
Ciro Santilli [Tue, 8 Jul 2014 06:53:19 +0000 (08:53 +0200)]
Merge pull request #84 from cirosantilli/setex-tests
Add Setex examples to the multiple headers test.
Ciro Santilli [Tue, 8 Jul 2014 06:52:52 +0000 (08:52 +0200)]
Merge pull request #89 from cirosantilli/table-format
Add TableFormat command.
Ciro Santilli [Tue, 10 Jun 2014 15:44:53 +0000 (17:44 +0200)]
Add TableFormat command.
Felipe Morales [Tue, 8 Jul 2014 02:20:22 +0000 (22:20 -0400)]
Toc: Pass errors if no atx headers are processed.
Fixes issue #102
Hiroshi Shirosaki [Fri, 20 Jun 2014 11:45:09 +0000 (20:45 +0900)]
Merge pull request #95 from cassava/patch-1
Changing Vundle "Bundle" references to "Plugin"
Ciro Santilli [Thu, 19 Jun 2014 08:58:18 +0000 (10:58 +0200)]
Merge pull request #88 from cirosantilli/change-header-level
Add commands to increase and decrease header levels.
Ciro Santilli [Thu, 5 Jun 2014 17:13:26 +0000 (19:13 +0200)]
Add HeaderDecrease, HeaderIncrease and SetexToAtx.
Ben Morgan [Wed, 18 Jun 2014 14:18:28 +0000 (16:18 +0200)]
Changing Vundle "Bundle" references to "Plugin"
Vundle is changing their interface from `Bundle*` to `Plugin*`.
See \ 1https://github.com/gmarik/Vundle.vim/blob/v0.10.2/doc/vundle.txt#L372-L396 for more information on this.
Hiroshi Shirosaki [Wed, 18 Jun 2014 13:21:06 +0000 (22:21 +0900)]
Merge pull request #94 from bruno-/buffer_local_mappings
Make the default mappings 'buffer local'
Bruno Sutic [Wed, 18 Jun 2014 10:35:38 +0000 (12:35 +0200)]
Make the default mappings buffer local
If mappings aren't defined as 'buffer local', they are defined in other
files too and this causes conflicts with mappings there.
Ciro Santilli [Tue, 17 Jun 2014 12:12:42 +0000 (14:12 +0200)]
Merge pull request #92 from y0t4/fix_if_folding_disabled_is_0
Fix folding bug if folding disabled option is 0
Yosuke OTA [Tue, 17 Jun 2014 11:35:15 +0000 (20:35 +0900)]
Use get() instead of exists() in ftplugin/mkd.vim
Yosuke OTA [Mon, 16 Jun 2014 19:06:42 +0000 (04:06 +0900)]
Fix folding bug if folding disabled option is 0
Ciro Santilli [Mon, 16 Jun 2014 08:40:07 +0000 (10:40 +0200)]
Merge pull request #83 from cirosantilli/no-space-before-header
Don't allow spaces before headers in nav mappings.
Breaks too often when you have code blocks with comments that start with #.
Ciro Santilli [Mon, 2 Jun 2014 15:47:21 +0000 (17:47 +0200)]
Add Setex examples to the multiple headers test.
Ciro Santilli [Tue, 3 Jun 2014 15:19:52 +0000 (17:19 +0200)]
Merge patched pull request #80 from fmoralesc:patch-1
Ciro Santilli [Tue, 3 Jun 2014 15:07:09 +0000 (17:07 +0200)]
Correct minor points in last pull request.
Felipe Morales [Mon, 2 Jun 2014 19:00:27 +0000 (15:00 -0400)]
Add support for setext headers to the TOC commands.
Ciro Santilli [Mon, 2 Jun 2014 07:40:50 +0000 (09:40 +0200)]
Don't allow spaces before headers in nav mappings.
It breaks too often when you have code blocks with comments that
start with `#`, and no one uses spaces before headers.
Ciro Santilli [Tue, 6 May 2014 07:41:43 +0000 (09:41 +0200)]
Merge pull request #75 from cirosantilli/style
Add preferred style guide to CONTRIBUTING.
Hiroshi Shirosaki [Fri, 2 May 2014 01:39:33 +0000 (10:39 +0900)]
Fix errors of function name with Patch 7.4.260
The following error occurs with Vim 7.4.260.
E128: Function name must start with a capital or "s:"
Rename function names to `s:Markdown_`.
Fixes #79
Ciro Santilli [Wed, 23 Apr 2014 12:47:46 +0000 (14:47 +0200)]
Merge pull request #76 from cirosantilli/master
Typos in CONTRIBUTING.
Ciro Santilli [Wed, 23 Apr 2014 12:45:32 +0000 (14:45 +0200)]
Typos in CONTRIBUTING.
Ciro Santilli [Wed, 23 Apr 2014 12:32:26 +0000 (14:32 +0200)]
Add preferred style guide to CONTRIBUTING.
Ciro Santilli [Wed, 23 Apr 2014 12:22:45 +0000 (14:22 +0200)]
Merge pull request #70 from beyondwdq/master
Disable automatically inserting bullets when auto-wrapping.
Danqi Wang [Wed, 26 Mar 2014 02:36:00 +0000 (10:36 +0800)]
Better support for bullet insertion and auto indentation in list items.
1. Added setlocal formatoptions-=c to disable automatically inserting bullets when auto-wrapping with textwidth.
2. Added indent/mkd.vim to support auto indent in list.
Hiroshi Shirosaki [Mon, 7 Apr 2014 23:49:34 +0000 (08:49 +0900)]
Rename g:markdown_no_default_key_mappings
Every non local identifier must start with g:vim_markdown_ from
CONTRIBUTING.md.
Ciro Santilli [Mon, 7 Apr 2014 05:57:25 +0000 (07:57 +0200)]
Merge pull request #69 from cirosantilli/use-markdown-testsuite
Use https://github.com/karlcow/markdown-testsuite for the tests wherever possible.
Hiroshi Shirosaki [Thu, 3 Apr 2014 04:30:06 +0000 (13:30 +0900)]
Merge branch 'mapping'
Conflicts:
ftplugin/mkd.vim
Ben Williams [Wed, 2 Apr 2014 14:21:25 +0000 (10:21 -0400)]
Merge pull request #71 from cirosantilli/toc
Add Toc commands.
haya14busa [Tue, 1 Apr 2014 13:14:08 +0000 (22:14 +0900)]
Update documents: mapping option & <Plug> mappings
haya14busa [Mon, 31 Mar 2014 06:19:57 +0000 (15:19 +0900)]
Add <Plug> mappings & option for default mappings
Ciro Santillli [Sat, 29 Mar 2014 20:59:19 +0000 (21:59 +0100)]
Add Toc commands.
Ciro Santillli [Mon, 24 Mar 2014 14:22:09 +0000 (15:22 +0100)]
Use karlcow/markdown-testsuite for the tests.
Hiroshi Shirosaki [Mon, 24 Mar 2014 00:08:13 +0000 (09:08 +0900)]
Merge pull request #68 from KyleChamberlin/readme
Fixed typo in README.md
Kyle Chamberlin [Sat, 22 Mar 2014 19:29:42 +0000 (15:29 -0400)]
Fixed typo in README.md