]>
git.madduck.net Git - etc/vim.git/log
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:
Hiroshi Shirosaki [Thu, 26 Jul 2018 05:07:43 +0000 (14:07 +0900)]
Merge pull request #377 from mmFooD/code-conceal
Added concealends for code items
Hiroshi Shirosaki [Thu, 26 Jul 2018 04:56:39 +0000 (13:56 +0900)]
Merge pull request #374 from anowlcalledjosh/yaml-triple-dot
Support YAML frontmatter that ends with "..."
Patrik Bogren [Wed, 6 Jun 2018 18:13:09 +0000 (20:13 +0200)]
Added concealends for code items
Josh Holland [Sat, 2 Jun 2018 21:33:29 +0000 (22:33 +0100)]
Support YAML frontmatter that ends with "..."
Ben Williams [Tue, 5 Jun 2018 13:57:41 +0000 (09:57 -0400)]
Attempt to fix OSX tests in Travis-CI by upgrading pip.
Hiroshi Shirosaki [Fri, 23 Mar 2018 01:45:19 +0000 (10:45 +0900)]
Merge pull request #366 from GloverDonovan/fix/typo
Fix some typos
Donovan Glover [Wed, 21 Mar 2018 23:03:29 +0000 (19:03 -0400)]
Fix some typos
Hiroshi Shirosaki [Mon, 19 Mar 2018 05:22:19 +0000 (14:22 +0900)]
Merge pull request #363 from smancill/buffer-local-autocommands
Make autocommands buffer-local
Sebastián Mancilla [Sat, 3 Mar 2018 00:06:38 +0000 (21:06 -0300)]
Make autocommands buffer-local
Ensure the commands are executed only for Markdown buffers.
Hiroshi Shirosaki [Sat, 20 Jan 2018 11:56:57 +0000 (20:56 +0900)]
Merge pull request #354 from codybuell/master
Add support to modify default file extension.
codybuell [Fri, 19 Jan 2018 17:17:21 +0000 (12:17 -0500)]
Initialize empty l:ext in case no ext opt set
codybuell [Wed, 17 Jan 2018 20:10:11 +0000 (15:10 -0500)]
Correct escaping
codybuell [Wed, 17 Jan 2018 20:09:58 +0000 (15:09 -0500)]
Add documentation for changing file extensions
codybuell [Wed, 17 Jan 2018 19:42:20 +0000 (14:42 -0500)]
Merge remote-tracking branch 'upstream/master'
Hiroshi Shirosaki [Thu, 21 Dec 2017 12:55:04 +0000 (21:55 +0900)]
Add a test for link title highlighting #343
Hiroshi Shirosaki [Fri, 15 Dec 2017 06:54:49 +0000 (15:54 +0900)]
Use sudo on OSX on travis
Hiroshi Shirosaki [Fri, 15 Dec 2017 06:49:48 +0000 (15:49 +0900)]
Install pip on OSX on travis
Hiroshi Shirosaki [Fri, 15 Dec 2017 06:45:48 +0000 (15:45 +0900)]
Fix pip install on OSX on travis
Hiroshi Shirosaki [Fri, 15 Dec 2017 05:03:48 +0000 (14:03 +0900)]
Install python on OSX on travis
https://github.com/travis-ci/travis-ci/issues/2312
Hiroshi Shirosaki [Fri, 15 Dec 2017 04:51:25 +0000 (13:51 +0900)]
Add python path with OSX on travis
https://github.com/travis-ci/travis-ci/issues/5030
Hiroshi Shirosaki [Fri, 15 Dec 2017 04:43:21 +0000 (13:43 +0900)]
Update doc for Follow named anchors
Hiroshi Shirosaki [Fri, 15 Dec 2017 04:40:32 +0000 (13:40 +0900)]
Merge pull request #335 from spearman/horiz-rule-syntax
Change mkdRule match syntax to be more liberal
Hiroshi Shirosaki [Fri, 15 Dec 2017 04:31:17 +0000 (13:31 +0900)]
Merge pull request #312 from memeplex/namedanchor
Follow named anchors with ge
memeplex [Thu, 28 Sep 2017 01:51:01 +0000 (22:51 -0300)]
Add some documentation
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.
codybuell [Tue, 27 Jun 2017 01:34:29 +0000 (21:34 -0400)]
Correct spelling to global variable name
codybuell [Mon, 26 Jun 2017 17:49:01 +0000 (13:49 -0400)]
Add support for another extension
Hiroshi Shirosaki [Wed, 10 May 2017 03:54:22 +0000 (12:54 +0900)]
Merge pull request #326 from memeplex/escapemath
Skip escaped $ inside math
memeplex [Fri, 28 Apr 2017 17:56:38 +0000 (14:56 -0300)]
Skip escaped $ inside math
Hiroshi Shirosaki [Thu, 16 Mar 2017 08:25:40 +0000 (17:25 +0900)]
Add document for math conceal #277
Hiroshi Shirosaki [Thu, 16 Mar 2017 01:50:13 +0000 (10:50 +0900)]
Add tests for `ge` command
Hiroshi Shirosaki [Thu, 16 Mar 2017 00:39:28 +0000 (09:39 +0900)]
Update doc for `ge`
Hiroshi Shirosaki [Thu, 9 Mar 2017 06:04:38 +0000 (15:04 +0900)]
Add a test for footnotes #314
memeplex [Fri, 3 Mar 2017 23:12:41 +0000 (20:12 -0300)]
Don't highlight footnote def as link def
Hiroshi Shirosaki [Thu, 9 Mar 2017 05:57:48 +0000 (14:57 +0900)]
Fix test description #319
Hiroshi Shirosaki [Thu, 9 Mar 2017 05:14:38 +0000 (14:14 +0900)]
Merge pull request #318 from 'memeplex/linkbracket'
Fix mkdLink highlighting region
Hiroshi Shirosaki [Thu, 9 Mar 2017 05:12:11 +0000 (14:12 +0900)]
Add a test for mkdLink #319
memeplex [Wed, 8 Mar 2017 21:10:54 +0000 (18:10 -0300)]
Fix two line link syntax
Hiroshi Shirosaki [Mon, 6 Mar 2017 07:55:17 +0000 (16:55 +0900)]
Fix last line header folding
Fold level should be specified to the last line.
Based on the patch by @memeplex
Fix #315, #317
memeplex [Sun, 5 Mar 2017 23:48:35 +0000 (20:48 -0300)]
Fix mkdLink highlighting region
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 (:.).
memeplex [Wed, 22 Feb 2017 16:52:36 +0000 (13:52 -0300)]
Follow named anchors with ge
This commit allows ge to follow named anchors in links of the form
file#anchor, where file may omit the .md extension as usual.
Two global variables control the operation of this feature:
vim_markdown_follow_anchor: a flag that tells vim-markdown whether
to attempt to follow a named anchor in a link or not. When this is
1, and only if a link can be split in exactly two parts by the
pattern '#', then the first part is interpreted as the file and the
second one as the named anchor. After the file is opened, the anchor
will be searched.
vim_markdown_anchorexpr: if available this expression will be
evaluated substituting v:anchor with a quoted string that contains
the anchor to visit. The result of the evaluation will become the
real anchor to search in the target file. This is useful in order to
convert anchors of the form my-section-title to searches of the form
My Section Title. It needs to be generic since every markdown
renderer follows its own conventions to generate "auto-anchors".
A dummy example: let vim_markdown_anchorexpr = "'<<'.v:anchor"
Note: I've also reformatted EditUrlUnderCursor a bit since it was
violating the 4-space tab and single-quoted string conventions that most
of the rest of the code seems to follow.
Hiroshi Shirosaki [Thu, 2 Feb 2017 08:31:49 +0000 (17:31 +0900)]
Fix error: stty: stdin isn't a terminal on travis
Hiroshi Shirosaki [Thu, 2 Feb 2017 01:47:15 +0000 (10:47 +0900)]
Merge pull request #307 from wavded/patch-1
Fix spell check on bold an italic text
Hiroshi Shirosaki [Wed, 1 Feb 2017 08:24:58 +0000 (17:24 +0900)]
Merge branch 'master' into patch-1
Hiroshi Shirosaki [Wed, 1 Feb 2017 06:47:49 +0000 (15:47 +0900)]
Merge pull request #293 from artumi-richard/gitlabwiki
Option to not require .md extensions in markdown links
Hiroshi Shirosaki [Wed, 1 Feb 2017 06:39:43 +0000 (15:39 +0900)]
Merge pull request #303 from luzhlon/master
fixed the autofit bug
Hiroshi Shirosaki [Wed, 1 Feb 2017 05:57:39 +0000 (14:57 +0900)]
Merge pull request #309 from michaelPotter/master
Syntax Concealing for italic/bold/italicbold Items
Hiroshi Shirosaki [Wed, 1 Feb 2017 05:41:12 +0000 (14:41 +0900)]
Merge pull request #297 from KainokiKaede/master
Fix the matching region of mkdListItem.
Hiroshi Shirosaki [Wed, 1 Feb 2017 05:39:56 +0000 (14:39 +0900)]
Merge pull request #285 from codybuell/master
Add option to disable foldtext override.
Hiroshi Shirosaki [Wed, 1 Feb 2017 05:26:17 +0000 (14:26 +0900)]
Add -H option for permission errors on travis
michaelPotter [Sun, 8 Jan 2017 23:50:08 +0000 (15:50 -0800)]
Fix leading space as part of ** bold
michaelPotter [Sun, 8 Jan 2017 23:34:46 +0000 (15:34 -0800)]
Add documentation
michaelPotter [Sun, 8 Jan 2017 23:34:01 +0000 (15:34 -0800)]
Unit tests for italic/bold/italic bold concealing
michaelPotter [Sun, 8 Jan 2017 23:33:19 +0000 (15:33 -0800)]
Add syntax concealing for italic/bold/italic bold
Marc Harter [Fri, 30 Dec 2016 05:01:48 +0000 (23:01 -0600)]
Fix spell check on bold an italic text
See also: https://github.com/tpope/vim-markdown/pull/101/commits/
0442460bc89cd091aa7b597ecd3cf88839b2f01f
luzhlon [Sun, 11 Dec 2016 01:26:15 +0000 (09:26 +0800)]
fixed the autofit bug
Kaede Kainoki [Wed, 12 Oct 2016 11:52:50 +0000 (20:52 +0900)]
Fix the matching region of mkdListItem.
Richard Fletcher [Fri, 9 Sep 2016 11:20:41 +0000 (12:20 +0100)]
Auto write option on following a link for edit
When you follow a link with "ge" you get an error if there are changes
to write, this ensures a write is done and the navigation is completed
Richard Fletcher [Fri, 9 Sep 2016 11:13:45 +0000 (12:13 +0100)]
Option to not require .md extensions in markdown links
Gitlab uses markdown in an interesting way. If you want to create a link
to the page "linked-to-page" you might do this:
[Linked To Page Title](linked-to-page)
And not,
[Linked To Page Title](linked-to-page.md)
This change is about having the "ge" command work on wiki links
constructed in this way, and provides consistency between how gitlab
works and vim-markdown works.
The default behaviour is not affected.
codybuell [Wed, 13 Jul 2016 21:41:55 +0000 (17:41 -0400)]
Add documentation for foldtext override
codybuell [Wed, 13 Jul 2016 21:35:21 +0000 (17:35 -0400)]
Add option to disable setting foldtext
Prevents foldtext from being overwritten when running with pythonic
folding style. Can be set with let g:vim_markdown_override_foldtext=0.
Hiroshi Shirosaki [Thu, 19 May 2016 04:47:27 +0000 (13:47 +0900)]
Merge pull request #279 from aseom/master
Highlight mkdLink, mkdInlineURL in Headings
aseom [Tue, 17 May 2016 12:40:03 +0000 (21:40 +0900)]
Add tests for link in headers
aseom [Fri, 13 May 2016 09:05:01 +0000 (18:05 +0900)]
Highlight mkdLink, mkdInlineURL in Headings
Hiroshi Shirosaki [Tue, 10 May 2016 08:36:10 +0000 (17:36 +0900)]
Update doc
Hiroshi Shirosaki [Tue, 10 May 2016 08:34:33 +0000 (17:34 +0900)]
Merge pull request #275 from mpercy/master
Implement "edit link in Vim" shortcut
Mike Percy [Wed, 27 Apr 2016 08:09:46 +0000 (01:09 -0700)]
Implement "edit link in Vim" shortcut
Added a shortcut called `ge` that is similar to `gx` except that it
opens the file under the cursor for editing in Vim. This is particularly
useful when editing markdown that contains relative links to other
markdown files.
Hiroshi Shirosaki [Thu, 14 Apr 2016 14:14:14 +0000 (23:14 +0900)]
Add vim-markdown to short command reference
To avoid `:helptags` crash with other plugins.
Fix #273
Hiroshi Shirosaki [Thu, 17 Mar 2016 04:15:53 +0000 (13:15 +0900)]
Fix tex.vim syntax conceal
tex.vim syntax matches start and end delimiters so that syntax
conceal works properly.
Fix #272
Hiroshi Shirosaki [Wed, 16 Mar 2016 02:05:06 +0000 (11:05 +0900)]
Set emtpy to loclist if :Toc returns no headers
Hiroshi Shirosaki [Wed, 16 Mar 2016 00:28:41 +0000 (09:28 +0900)]
Add keepend as with math syntax
Hiroshi Shirosaki [Wed, 16 Mar 2016 00:24:18 +0000 (09:24 +0900)]
Fix math syntax highlighting after end pattern
Add keepend to match end of the region.
Fix #271
Hiroshi Shirosaki [Fri, 4 Mar 2016 05:20:49 +0000 (14:20 +0900)]
Merge pull request #269 from yous/relaxed-fenced-code
Support more general fenced code block
Chayoung You [Thu, 3 Mar 2016 13:12:51 +0000 (22:12 +0900)]
Clear buffer variables before each test
Chayoung You [Thu, 3 Mar 2016 02:05:02 +0000 (11:05 +0900)]
Support more general fenced code block
Hiroshi Shirosaki [Thu, 3 Mar 2016 04:47:46 +0000 (13:47 +0900)]
Update document for pythonic style folding
Fix #262
Hiroshi Shirosaki [Thu, 3 Mar 2016 04:27:29 +0000 (13:27 +0900)]
Fix bug with double underscores
Double underscore inside doesn't make bold.
We also fix asterisk and bold italic.
Fix #267
Hiroshi Shirosaki [Fri, 26 Feb 2016 02:18:37 +0000 (11:18 +0900)]
Fix comments for TableFormat #265
Hiroshi Shirosaki [Thu, 25 Feb 2016 01:44:41 +0000 (10:44 +0900)]
TableFormat does not remove colons for alignment
Fix #265, #220
Hiroshi Shirosaki [Sun, 21 Feb 2016 11:21:02 +0000 (20:21 +0900)]
Merge pull request #261 from bekkou68/configurable_new_list_item_indent
Make new list item indent configurable
Takumi Tsunokake [Sat, 20 Feb 2016 12:22:58 +0000 (21:22 +0900)]
make new list item indent configurable
before the commit, we cannot configure new list item indent,
it was fixed. i always insert 2-space indent for new list item.
so i'd like to make it configurable.
Hiroshi Shirosaki [Fri, 19 Feb 2016 07:47:46 +0000 (16:47 +0900)]
Highlight line breaks
Fix #140
Hiroshi Shirosaki [Fri, 19 Feb 2016 06:27:16 +0000 (15:27 +0900)]
Not highlight as italic without asterisk end
Fix #260
Hiroshi Shirosaki [Fri, 19 Feb 2016 05:07:14 +0000 (14:07 +0900)]
Fix fenced code block syntax when reopening a file
Fix #259
Hiroshi Shirosaki [Fri, 19 Feb 2016 01:53:14 +0000 (10:53 +0900)]
Use inline code for .virmc in README.md
Hiroshi Shirosaki [Fri, 19 Feb 2016 01:45:26 +0000 (10:45 +0900)]
Add 'g:vim_markdown_fenced_languages' option
Users can set filetype map in `.vimrc` for fenced code block
syntax highlighting.
Based on the patch by @citizenmatt.
Fix #250
Hiroshi Shirosaki [Fri, 19 Feb 2016 00:20:30 +0000 (09:20 +0900)]
Change document for conceal Fix #258
Hiroshi Shirosaki [Fri, 19 Feb 2016 00:09:13 +0000 (09:09 +0900)]
Add tests for 'g:vim_markdown_conceal' #258
BOACK [Sat, 13 Feb 2016 13:30:51 +0000 (22:30 +0900)]
Add 'g:vim_markdown_conceal'
Add variable 'g:vim_markdown_conceal' to enable/disable markdown conceal.
In vimrc,
let g:vim_markdown_conceal = 1 " conceal enable
let g:vim_markdown_conceal = 0 " conceal disable
Default : 1
Hiroshi Shirosaki [Fri, 12 Feb 2016 00:30:42 +0000 (09:30 +0900)]
Use syn instead of syntax like other part
Hiroshi Shirosaki [Fri, 12 Feb 2016 00:21:45 +0000 (09:21 +0900)]
Fix URL regexp with parenthesis #257
Hiroshi Shirosaki [Fri, 12 Feb 2016 00:18:12 +0000 (09:18 +0900)]
Merge pull request #257 from alexconst/fix/url_regex
Fix URL syntax regex
Alexandre Constantino [Wed, 10 Feb 2016 19:41:33 +0000 (19:41 +0000)]
Fix URL syntax regex
Enables domain names that start with digits
Hiroshi Shirosaki [Wed, 10 Feb 2016 04:14:33 +0000 (13:14 +0900)]
Merge pull request #255 from alexconst/feat/ft_dict_ini
Add filetype mapping of ini to dosini
Alexandre Constantino [Wed, 10 Feb 2016 01:17:58 +0000 (01:17 +0000)]
Add filetype mapping of ini to dosini
Hiroshi Shirosaki [Mon, 8 Feb 2016 01:08:27 +0000 (10:08 +0900)]
Add : of command in README.md
Hiroshi Shirosaki [Mon, 8 Feb 2016 01:07:11 +0000 (10:07 +0900)]
Fix code format
Hiroshi Shirosaki [Fri, 5 Feb 2016 10:59:13 +0000 (19:59 +0900)]
Refactor to use `s:` variable and single quotes
Hiroshi Shirosaki [Fri, 5 Feb 2016 10:42:34 +0000 (19:42 +0900)]
Update doc
Fix make doc to wrap table of contents over 79 length.