]> 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:

etc/vim.git
7 years agoAdd documentation
michaelPotter [Sun, 8 Jan 2017 23:34:46 +0000 (15:34 -0800)]
Add documentation

7 years agoUnit tests for italic/bold/italic bold concealing
michaelPotter [Sun, 8 Jan 2017 23:34:01 +0000 (15:34 -0800)]
Unit tests for italic/bold/italic bold concealing

7 years agoAdd syntax concealing for italic/bold/italic bold
michaelPotter [Sun, 8 Jan 2017 23:33:19 +0000 (15:33 -0800)]
Add syntax concealing for italic/bold/italic bold

7 years agoFix spell check on bold an italic text
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

7 years agofixed the autofit bug
luzhlon [Sun, 11 Dec 2016 01:26:15 +0000 (09:26 +0800)]
fixed the autofit bug

7 years agoFix the matching region of mkdListItem.
Kaede Kainoki [Wed, 12 Oct 2016 11:52:50 +0000 (20:52 +0900)]
Fix the matching region of mkdListItem.

7 years agoAuto write option on following a link for edit
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

7 years agoOption to not require .md extensions in markdown links
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.

7 years agoAdd documentation for foldtext override
codybuell [Wed, 13 Jul 2016 21:41:55 +0000 (17:41 -0400)]
Add documentation for foldtext override

7 years agoAdd option to disable setting foldtext
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.

7 years agoMerge pull request #279 from aseom/master
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

7 years agoAdd tests for link in headers
aseom [Tue, 17 May 2016 12:40:03 +0000 (21:40 +0900)]
Add tests for link in headers

7 years agoHighlight mkdLink, mkdInlineURL in Headings
aseom [Fri, 13 May 2016 09:05:01 +0000 (18:05 +0900)]
Highlight mkdLink, mkdInlineURL in Headings

8 years agoUpdate doc
Hiroshi Shirosaki [Tue, 10 May 2016 08:36:10 +0000 (17:36 +0900)]
Update doc

8 years agoMerge pull request #275 from mpercy/master
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

8 years agoImplement "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.

8 years agoAdd vim-markdown to short command reference
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

8 years agoFix tex.vim syntax conceal
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

8 years agoSet emtpy to loclist if :Toc returns no headers
Hiroshi Shirosaki [Wed, 16 Mar 2016 02:05:06 +0000 (11:05 +0900)]
Set emtpy to loclist if :Toc returns no headers

8 years agoAdd keepend as with math syntax
Hiroshi Shirosaki [Wed, 16 Mar 2016 00:28:41 +0000 (09:28 +0900)]
Add keepend as with math syntax

8 years agoFix math syntax highlighting after end pattern
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

8 years agoMerge pull request #269 from yous/relaxed-fenced-code
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

8 years agoClear buffer variables before each test
Chayoung You [Thu, 3 Mar 2016 13:12:51 +0000 (22:12 +0900)]
Clear buffer variables before each test

8 years agoSupport more general fenced code block
Chayoung You [Thu, 3 Mar 2016 02:05:02 +0000 (11:05 +0900)]
Support more general fenced code block

8 years agoUpdate document for pythonic style folding
Hiroshi Shirosaki [Thu, 3 Mar 2016 04:47:46 +0000 (13:47 +0900)]
Update document for pythonic style folding

Fix #262

8 years agoFix bug with double underscores
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

8 years agoFix comments for TableFormat #265
Hiroshi Shirosaki [Fri, 26 Feb 2016 02:18:37 +0000 (11:18 +0900)]
Fix comments for TableFormat #265

8 years agoTableFormat does not remove colons for alignment
Hiroshi Shirosaki [Thu, 25 Feb 2016 01:44:41 +0000 (10:44 +0900)]
TableFormat does not remove colons for alignment

Fix #265, #220

8 years agoMerge pull request #261 from bekkou68/configurable_new_list_item_indent
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

8 years agomake 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.

8 years agoHighlight line breaks
Hiroshi Shirosaki [Fri, 19 Feb 2016 07:47:46 +0000 (16:47 +0900)]
Highlight line breaks

Fix #140

8 years agoNot highlight as italic without asterisk end
Hiroshi Shirosaki [Fri, 19 Feb 2016 06:27:16 +0000 (15:27 +0900)]
Not highlight as italic without asterisk end

Fix #260

8 years agoFix fenced code block syntax when reopening a file
Hiroshi Shirosaki [Fri, 19 Feb 2016 05:07:14 +0000 (14:07 +0900)]
Fix fenced code block syntax when reopening a file

Fix #259

8 years agoUse inline code for .virmc in README.md
Hiroshi Shirosaki [Fri, 19 Feb 2016 01:53:14 +0000 (10:53 +0900)]
Use inline code for .virmc in README.md

8 years agoAdd 'g:vim_markdown_fenced_languages' option
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

8 years agoChange document for conceal Fix #258
Hiroshi Shirosaki [Fri, 19 Feb 2016 00:20:30 +0000 (09:20 +0900)]
Change document for conceal Fix #258

8 years agoAdd tests for 'g:vim_markdown_conceal' #258
Hiroshi Shirosaki [Fri, 19 Feb 2016 00:09:13 +0000 (09:09 +0900)]
Add tests for 'g:vim_markdown_conceal' #258

8 years agoAdd 'g:vim_markdown_conceal'
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

8 years agoUse syn instead of syntax like other part
Hiroshi Shirosaki [Fri, 12 Feb 2016 00:30:42 +0000 (09:30 +0900)]
Use syn instead of syntax like other part

8 years agoFix URL regexp with parenthesis #257
Hiroshi Shirosaki [Fri, 12 Feb 2016 00:21:45 +0000 (09:21 +0900)]
Fix URL regexp with parenthesis #257

8 years agoMerge pull request #257 from alexconst/fix/url_regex
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

8 years agoFix 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

8 years agoMerge pull request #255 from alexconst/feat/ft_dict_ini
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

8 years agoAdd 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

8 years agoAdd : of command in README.md
Hiroshi Shirosaki [Mon, 8 Feb 2016 01:08:27 +0000 (10:08 +0900)]
Add : of command in README.md

8 years agoFix code format
Hiroshi Shirosaki [Mon, 8 Feb 2016 01:07:11 +0000 (10:07 +0900)]
Fix code format

8 years agoRefactor to use `s:` variable and single quotes
Hiroshi Shirosaki [Fri, 5 Feb 2016 10:59:13 +0000 (19:59 +0900)]
Refactor to use `s:` variable and single quotes

8 years agoUpdate doc
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.

8 years agoMerge pull request #252 from alexconst/feat/emphasis_singleline
Hiroshi Shirosaki [Fri, 5 Feb 2016 09:52:55 +0000 (18:52 +0900)]
Merge pull request #252 from alexconst/feat/emphasis_singleline

Add option for singleline emphasis

8 years agoSimplify expression for single-line emphasis
Alexandre Constantino [Fri, 5 Feb 2016 09:29:12 +0000 (09:29 +0000)]
Simplify expression for single-line emphasis

8 years agoFix syntax include errors with alias language
Hiroshi Shirosaki [Fri, 5 Feb 2016 02:17:25 +0000 (11:17 +0900)]
Fix syntax include errors with alias language

When alias names of a language are used with fenced code block,
syntax include is executed twice and causes errors.
We add `b:mkd_included_filetypes` to check syntax included.
Fix #251

8 years agoAdd tests for single-line emphasis
Alexandre Constantino [Thu, 4 Feb 2016 11:54:32 +0000 (11:54 +0000)]
Add tests for single-line emphasis

8 years agoFix single-line emphasis dealing with escapes
Alexandre Constantino [Thu, 4 Feb 2016 11:52:48 +0000 (11:52 +0000)]
Fix single-line emphasis dealing with escapes

Reverted back to greedy emphasis

8 years agoAdd comment on non-greedy match
Alexandre Constantino [Thu, 4 Feb 2016 11:32:20 +0000 (11:32 +0000)]
Add comment on non-greedy match

8 years agoAdd option for single-line only text emphasis
Alexandre Constantino [Thu, 4 Feb 2016 09:02:15 +0000 (09:02 +0000)]
Add option for single-line only text emphasis

8 years agoPoC for single-line emphasis
Alexandre Constantino [Wed, 3 Feb 2016 22:20:47 +0000 (22:20 +0000)]
PoC for single-line emphasis

PoC to have emphasis only apply when there is a closing token in the
same line as the opening one; ie emphasis will not work multi-line.

8 years agoMerge pull request #248 from shirosaki/osx
Hiroshi Shirosaki [Sun, 31 Jan 2016 14:13:59 +0000 (23:13 +0900)]
Merge pull request #248 from shirosaki/osx

Add osx to travis

8 years agoFix tests for vim packaged on osx
Hiroshi Shirosaki [Sun, 31 Jan 2016 13:55:26 +0000 (22:55 +0900)]
Fix tests for vim packaged on osx

8 years agoAdd osx to travis
Hiroshi Shirosaki [Sat, 30 Jan 2016 23:19:30 +0000 (08:19 +0900)]
Add osx to travis

8 years agoChange make doc command to work with bsd sed
Hiroshi Shirosaki [Sat, 30 Jan 2016 23:01:10 +0000 (08:01 +0900)]
Change make doc command to work with bsd sed

8 years agoAdd indent/markdown.vim to install
Hiroshi Shirosaki [Fri, 29 Jan 2016 06:23:23 +0000 (15:23 +0900)]
Add indent/markdown.vim to install

Patch by @huangleon
Fix #247

8 years agoNo indent hash header after list
Hiroshi Shirosaki [Wed, 27 Jan 2016 02:12:58 +0000 (11:12 +0900)]
No indent hash header after list

Fix #146

8 years agoChange function name to camel case
Hiroshi Shirosaki [Wed, 27 Jan 2016 00:59:31 +0000 (09:59 +0900)]
Change function name to camel case

8 years agoAdd bash for fenced code block syntax #93
Hiroshi Shirosaki [Tue, 26 Jan 2016 11:16:55 +0000 (20:16 +0900)]
Add bash for fenced code block syntax #93

8 years agoGo to the current header on Toc
Hiroshi Shirosaki [Mon, 25 Jan 2016 09:10:24 +0000 (18:10 +0900)]
Go to the current header on Toc

Fix #149

8 years agoNo autoindent after the list
Hiroshi Shirosaki [Mon, 25 Jan 2016 01:02:41 +0000 (10:02 +0900)]
No autoindent after the list

Fix #198

8 years agoAllow fenced code block with extended info strings
Hiroshi Shirosaki [Fri, 22 Jan 2016 01:05:25 +0000 (10:05 +0900)]
Allow fenced code block with extended info strings

Fix #111
Fix #210

8 years agoEscaped pre and code should not be code block
Hiroshi Shirosaki [Fri, 22 Jan 2016 00:49:37 +0000 (09:49 +0900)]
Escaped pre and code should not be code block

Fix #111

8 years agoUpdate doc
Hiroshi Shirosaki [Fri, 22 Jan 2016 00:31:55 +0000 (09:31 +0900)]
Update doc

8 years agoAdd requirement of json syntax
Hiroshi Shirosaki [Fri, 22 Jan 2016 00:28:22 +0000 (09:28 +0900)]
Add requirement of json syntax

Ubuntu vim package does not have json syntax.

8 years agoUpdate doc
Hiroshi Shirosaki [Thu, 21 Jan 2016 14:50:22 +0000 (23:50 +0900)]
Update doc

8 years agoAdd TOML/JSON front matter support
Hiroshi Shirosaki [Mon, 18 Jan 2016 02:03:51 +0000 (11:03 +0900)]
Add TOML/JSON front matter support

Add new options to enable front matter.
Fix #188, #242

8 years agoReduce unnecessary call `matchend()`
Hiroshi Shirosaki [Thu, 21 Jan 2016 09:04:42 +0000 (18:04 +0900)]
Reduce unnecessary call `matchend()`

Do not call `matchend()` if `s:vim_markdown_folding_level == 1`.

8 years agoFix list item highlight after line break
Hiroshi Shirosaki [Thu, 21 Jan 2016 02:41:57 +0000 (11:41 +0900)]
Fix list item highlight after line break

8 years agoRemove `mkdLineContinue` from syntax
Hiroshi Shirosaki [Wed, 20 Jan 2016 12:03:25 +0000 (21:03 +0900)]
Remove `mkdLineContinue` from syntax

`mkdLineContinue` seems to do nothing.
It may cause highlight issue.
Fix #233

8 years agoHighlight link text with newline
Hiroshi Shirosaki [Wed, 20 Jan 2016 08:08:48 +0000 (17:08 +0900)]
Highlight link text with newline

8 years agoRemove online with italic and bold syntax
Hiroshi Shirosaki [Wed, 20 Jan 2016 06:01:09 +0000 (15:01 +0900)]
Remove online with italic and bold syntax

We fixed some issues without oneline option.
Add unit tests.
Fix #172

8 years agoFix indent code block at beginning of file
Hiroshi Shirosaki [Wed, 20 Jan 2016 05:53:09 +0000 (14:53 +0900)]
Fix indent code block at beginning of file

Fix #105

8 years agoRemove spaces around = of set option
Hiroshi Shirosaki [Wed, 20 Jan 2016 00:06:49 +0000 (09:06 +0900)]
Remove spaces around = of set option

Spaces are not allowed.

8 years agoNot allow space in link
Hiroshi Shirosaki [Tue, 19 Jan 2016 13:29:22 +0000 (22:29 +0900)]
Not allow space in link

No spaces between link text and the following parenthesis.
http://spec.commonmark.org/0.24/#example-474

8 years agoMerge pull request #245 from cirosantilli/contributing-headers
Ciro Santilli 六四事件 法轮功 包卓轩 [Tue, 19 Jan 2016 12:39:18 +0000 (07:39 -0500)]
Merge pull request #245 from cirosantilli/contributing-headers

Make contributing headers h2 like README

8 years agoRemove extra blank line from README markdown
Ciro Santilli 六四事件 法轮功 包卓轩 [Tue, 19 Jan 2016 12:38:26 +0000 (07:38 -0500)]
Remove extra blank line from README markdown

8 years agoMake contributing headers h2 like README
Ciro Santilli [Tue, 19 Jan 2016 12:20:47 +0000 (07:20 -0500)]
Make contributing headers h2 like README

8 years agoChange function name to camel case as others
Hiroshi Shirosaki [Tue, 19 Jan 2016 12:02:23 +0000 (21:02 +0900)]
Change function name to camel case as others

8 years agoUpdate doc
Hiroshi Shirosaki [Tue, 19 Jan 2016 09:21:32 +0000 (18:21 +0900)]
Update doc

8 years agoConcealing links
Hiroshi Shirosaki [Tue, 19 Jan 2016 09:18:04 +0000 (18:18 +0900)]
Concealing links

Add conceal to syntax link to help readability.
Fix #244

8 years agoRestore number setting on tests
Hiroshi Shirosaki [Tue, 19 Jan 2016 09:14:47 +0000 (18:14 +0900)]
Restore number setting on tests

8 years agoFix regexp for spaces
Hiroshi Shirosaki [Tue, 19 Jan 2016 05:19:39 +0000 (14:19 +0900)]
Fix regexp for spaces

\s is not spaces in [].

8 years agoImprove regexp performance of italic
Hiroshi Shirosaki [Tue, 19 Jan 2016 04:40:05 +0000 (13:40 +0900)]
Improve regexp performance of italic

Add tests for escaped asterisks.

8 years agoDrop defined known scheme
Hiroshi Shirosaki [Tue, 19 Jan 2016 02:43:22 +0000 (11:43 +0900)]
Drop defined known scheme

Shorten the regexp because the long pattern is very slow.

8 years agoRemove ' in regexp pattern of url
Hiroshi Shirosaki [Tue, 19 Jan 2016 02:26:25 +0000 (11:26 +0900)]
Remove ' in regexp pattern of url

8 years agoSimplify the regexp of italic and bold
Hiroshi Shirosaki [Tue, 19 Jan 2016 02:19:34 +0000 (11:19 +0900)]
Simplify the regexp of italic and bold

Simplify the regexp to improve syntax performance.
Use \ze instead of \@=.

8 years agoImprove syntax regexp performance
Hiroshi Shirosaki [Tue, 19 Jan 2016 01:36:56 +0000 (10:36 +0900)]
Improve syntax regexp performance

Use \zs instead of \@<= if possible.

8 years agoFirst =, - should not be treated as header
Hiroshi Shirosaki [Tue, 19 Jan 2016 00:53:32 +0000 (09:53 +0900)]
First =, - should not be treated as header

Fix #189

8 years agoFix wrong comment
Hiroshi Shirosaki [Mon, 18 Jan 2016 09:00:26 +0000 (18:00 +0900)]
Fix wrong comment

8 years agoChange global variables to local
Hiroshi Shirosaki [Mon, 18 Jan 2016 08:41:31 +0000 (17:41 +0900)]
Change global variables to local

8 years agoChange buffer local variables to function local
Hiroshi Shirosaki [Mon, 18 Jan 2016 06:06:48 +0000 (15:06 +0900)]
Change buffer local variables to function local

8 years agoFix YAML frontmatter recognised as level-2 heading
Hiroshi Shirosaki [Mon, 18 Jan 2016 05:39:04 +0000 (14:39 +0900)]
Fix YAML frontmatter recognised as level-2 heading

Fixed front matter heading bugs of folding and `:Toc`.
Fix #160

8 years agoAdd requirement for commands #182
Hiroshi Shrirosaki [Sun, 17 Jan 2016 04:23:56 +0000 (13:23 +0900)]
Add requirement for commands #182

8 years agomake test works on Windows
Hiroshi Shrirosaki [Sun, 17 Jan 2016 02:58:02 +0000 (11:58 +0900)]
make test works on Windows