]> 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
5 years agoFix strikethrough
Josh Holland [Thu, 20 Jun 2019 14:52:53 +0000 (15:52 +0100)]
Fix strikethrough

`mkdStrike` wasn't matching in places where it should, because
`htmlStrike` was included in `mkdNonListItem`'s `contains` instead.

Also allow strikethrough delimiters to be concealed.

5 years agoUpdate doc
Hiroshi Shirosaki [Wed, 5 Jun 2019 07:15:43 +0000 (16:15 +0900)]
Update doc

5 years agoPythonic folding expand level 1 by default
Hiroshi Shirosaki [Wed, 5 Jun 2019 05:52:34 +0000 (14:52 +0900)]
Pythonic folding expand level 1 by default

Fix test failures.
Change document of Pythonic folding.

5 years agoExpand tabs
Hiroshi Shirosaki [Wed, 5 Jun 2019 05:18:38 +0000 (14:18 +0900)]
Expand tabs

5 years agoMerge branch 'pythonic_level1'
Hiroshi Shirosaki [Wed, 5 Jun 2019 05:18:08 +0000 (14:18 +0900)]
Merge branch 'pythonic_level1'

5 years agoMerge pull request #434 from yous/variables-doc
Hiroshi Shirosaki [Wed, 5 Jun 2019 04:48:12 +0000 (13:48 +0900)]
Merge pull request #434 from yous/variables-doc

Search global variables more accurately

5 years agoRemove a test to avoid a bug with latest vim
Hiroshi Shirosaki [Wed, 5 Jun 2019 04:45:12 +0000 (13:45 +0900)]
Remove a test to avoid a bug with latest vim

5 years agoSearch global variables more accurately
Chayoung You [Wed, 5 Jun 2019 04:25:05 +0000 (13:25 +0900)]
Search global variables more accurately

5 years agoUpdate doc
Hiroshi Shirosaki [Wed, 5 Jun 2019 04:14:37 +0000 (13:14 +0900)]
Update doc

5 years agoMerge branch 'variables-doc'
Hiroshi Shirosaki [Wed, 5 Jun 2019 04:14:24 +0000 (13:14 +0900)]
Merge branch 'variables-doc'

5 years agoMerge pull request #433 from nstickney/master
Hiroshi Shirosaki [Wed, 5 Jun 2019 03:51:36 +0000 (12:51 +0900)]
Merge pull request #433 from nstickney/master

document `conceal_code_blocks` in README.md

5 years agodocument `conceal_code_blocks` in README.md
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.

5 years agoGenerate IDs of global variables
Chayoung You [Tue, 23 Apr 2019 07:17:37 +0000 (16:17 +0900)]
Generate IDs of global variables

See
https://github.com/plasticboy/vim-markdown/pull/429#issuecomment-485348064.

5 years agoMerge pull request #429 from yous/variables-doc
Hiroshi Shirosaki [Mon, 22 Apr 2019 07:12:22 +0000 (16:12 +0900)]
Merge pull request #429 from yous/variables-doc

Mention related global variables in document

5 years agoMention related global variables in document
Chayoung You [Fri, 12 Apr 2019 05:05:25 +0000 (14:05 +0900)]
Mention related global variables in document

5 years agoMerge pull request #428 from yous/code-quotes
Hiroshi Shirosaki [Fri, 12 Apr 2019 01:53:44 +0000 (10:53 +0900)]
Merge pull request #428 from yous/code-quotes

Fix double code quotes with backslashes

5 years agoFix double code quotes with backslashes
Chayoung You [Thu, 11 Apr 2019 09:05:39 +0000 (18:05 +0900)]
Fix double code quotes with backslashes

5 years agoMerge pull request #423 from tobinjt/folding-fix
Hiroshi Shirosaki [Tue, 26 Mar 2019 00:36:59 +0000 (09:36 +0900)]
Merge pull request #423 from tobinjt/folding-fix

Folding fix

5 years agoMerge pull request #422 from tobinjt/testing-fix
Hiroshi Shirosaki [Tue, 26 Mar 2019 00:34:26 +0000 (09:34 +0900)]
Merge pull request #422 from tobinjt/testing-fix

Testing fix

5 years agoMerge branch 'master' into testing-fix
John Tobin [Mon, 25 Mar 2019 20:30:10 +0000 (20:30 +0000)]
Merge branch 'master' into testing-fix

5 years agoMerge branch 'master' into folding-fix
John Tobin [Mon, 25 Mar 2019 20:29:57 +0000 (20:29 +0000)]
Merge branch 'master' into folding-fix

5 years agoMerge pull request #421 from jneidel/patch-1
Hiroshi Shirosaki [Mon, 25 Mar 2019 04:55:23 +0000 (13:55 +0900)]
Merge pull request #421 from jneidel/patch-1

Fix typo

5 years agoFix typo
Jonathan Neidel [Sun, 24 Mar 2019 18:47:57 +0000 (19:47 +0100)]
Fix typo

line -> lines

5 years agoRemove user directories from runtimepath.
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.

5 years agoFix folding broken by other syntax highlighting.
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.

5 years agoFix test errors with latest vim
Hiroshi Shirosaki [Thu, 28 Feb 2019 00:00:04 +0000 (09:00 +0900)]
Fix test errors with latest vim

Do not use a: for non function arguments.

5 years agoMerge pull request #415 from endersstocker/syntax/fix-strikethrough
Hiroshi Shirosaki [Wed, 27 Feb 2019 14:57:49 +0000 (23:57 +0900)]
Merge pull request #415 from endersstocker/syntax/fix-strikethrough

Syntax: Fix strikethrough

5 years agoSyntax: Fix strikethrough
Bryan Enders [Thu, 21 Feb 2019 19:52:53 +0000 (14:52 -0500)]
Syntax: Fix strikethrough

Why
---
Strikethrough was only matching if the strikethrough happened to occur in a list

How
---
Add `htmlStrike` to `mkdNonListItem` cluster

5 years agoMerge pull request #397 from sim590/inexact-ft-match-syntax-hl
Hiroshi Shirosaki [Thu, 17 Jan 2019 05:24:45 +0000 (14:24 +0900)]
Merge pull request #397 from sim590/inexact-ft-match-syntax-hl

ftplugin: syntax highlighting for fts *markdown*

5 years agoFix code quotes when ending with backslash
Hiroshi Shirosaki [Thu, 17 Jan 2019 05:12:44 +0000 (14:12 +0900)]
Fix code quotes when ending with backslash

Backslash inside of a backtick should not escape a backtick.
Fix #311

5 years agoAdd documentation for strikethrough extension
Hiroshi Shirosaki [Wed, 9 Jan 2019 11:20:30 +0000 (20:20 +0900)]
Add documentation for strikethrough extension

5 years agoMerge pull request #367 from 91khr/master
Hiroshi Shirosaki [Wed, 9 Jan 2019 11:18:54 +0000 (20:18 +0900)]
Merge pull request #367 from 91khr/master

Add support for strike through which is supported by GFM

5 years agoMerge pull request #401 from liborw/master
Hiroshi Shirosaki [Sat, 29 Dec 2018 14:06:27 +0000 (23:06 +0900)]
Merge pull request #401 from liborw/master

Add option to disable code blocks concealing

5 years agoMerge pull request #405 from idbrii/setfiletype
Hiroshi Shirosaki [Sat, 29 Dec 2018 14:04:53 +0000 (23:04 +0900)]
Merge pull request #405 from idbrii/setfiletype

Prevent repeated sourcing of syntax

6 years agoDo not conceal code blocks
Libor Wagner [Sat, 8 Dec 2018 12:44:48 +0000 (13:44 +0100)]
Do not conceal code blocks

6 years agoPrevent repeated sourcing of syntax
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.

6 years agoAdd option to disable code blocks concealing
Libor Wagner [Tue, 20 Nov 2018 15:21:18 +0000 (16:21 +0100)]
Add option to disable code blocks concealing

6 years agoftplugin: syntax highlighting for fts *markdown*
Simon Désaulniers [Wed, 31 Oct 2018 03:50:23 +0000 (23:50 -0400)]
ftplugin: syntax highlighting for fts *markdown*

6 years agoMerge pull request #392 from anowlcalledjosh/yaml-frontmatter-fix
Hiroshi Shirosaki [Wed, 24 Oct 2018 04:43:05 +0000 (13:43 +0900)]
Merge pull request #392 from anowlcalledjosh/yaml-frontmatter-fix

Fix detection of YAML frontmatter ending with "..."

6 years agoFix detection of YAML frontmatter ending with "..."
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.

6 years agoAdd basic usage in table of contents
Hiroshi Shirosaki [Mon, 30 Jul 2018 00:45:20 +0000 (09:45 +0900)]
Add basic usage in table of contents

6 years agoAdd basic usage for fold and conceal #334
Hiroshi Shirosaki [Mon, 30 Jul 2018 00:40:56 +0000 (09:40 +0900)]
Add basic usage for fold and conceal #334

6 years agoRemove easy_install on travis
Hiroshi Shirosaki [Fri, 27 Jul 2018 13:53:57 +0000 (22:53 +0900)]
Remove easy_install on travis

get-pip.py installs pip.

6 years agoFix test for heading highlight
Hiroshi Shirosaki [Thu, 26 Jul 2018 05:48:51 +0000 (14:48 +0900)]
Fix test for heading highlight

Head # is `mkdHeading` syntax. Remove # from SytanxOf().
Fix #370

6 years agoAdd heading highlight group
Jerome Dalbert [Sun, 8 Apr 2018 16:42:47 +0000 (09:42 -0700)]
Add heading highlight group

6 years agoUpdate doc
Hiroshi Shirosaki [Thu, 26 Jul 2018 05:40:20 +0000 (14:40 +0900)]
Update doc

6 years agoMerge pull request #371 from codybuell/master
Hiroshi Shirosaki [Thu, 26 Jul 2018 05:37:10 +0000 (14:37 +0900)]
Merge pull request #371 from codybuell/master

Add support for opening links in tabs and splits

6 years agoMerge branch 'master' into master
Hiroshi Shirosaki [Thu, 26 Jul 2018 05:36:42 +0000 (14:36 +0900)]
Merge branch 'master' into master

6 years agoMerge pull request #375 from anowlcalledjosh/auto-insert-bullets
Hiroshi Shirosaki [Thu, 26 Jul 2018 05:11:29 +0000 (14:11 +0900)]
Merge pull request #375 from anowlcalledjosh/auto-insert-bullets

Add option to disable automatic bullet insertion

6 years agoMerge pull request #377 from mmFooD/code-conceal
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

6 years agoMerge pull request #374 from anowlcalledjosh/yaml-triple-dot
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 "..."

6 years agofixed "feature" to not fold level 1 headings
Joedang [Thu, 26 Jul 2018 02:07:32 +0000 (19:07 -0700)]
fixed "feature" to not fold level 1 headings

I also added comments explaining some of the code in that section, for
my own benefit.

6 years agoAdded concealends for code items
Patrik Bogren [Wed, 6 Jun 2018 18:13:09 +0000 (20:13 +0200)]
Added concealends for code items

6 years agoMerge branch 'master' of github.com:codybuell/vim-markdown
codybuell [Wed, 6 Jun 2018 11:27:34 +0000 (07:27 -0400)]
Merge branch 'master' of github.com:codybuell/vim-markdown

6 years agoInitialize editmethod variable
codybuell [Fri, 27 Apr 2018 18:41:12 +0000 (14:41 -0400)]
Initialize editmethod variable

6 years agoAdd support for opening links in tabs and splits
codybuell [Fri, 27 Apr 2018 18:29:40 +0000 (14:29 -0400)]
Add support for opening links in tabs and splits

6 years agoAdd option to disable automatic bullet insertion
Josh Holland [Sat, 2 Jun 2018 22:06:04 +0000 (23:06 +0100)]
Add option to disable automatic bullet insertion

6 years agoSupport YAML frontmatter that ends with "..."
Josh Holland [Sat, 2 Jun 2018 21:33:29 +0000 (22:33 +0100)]
Support YAML frontmatter that ends with "..."

6 years agoAttempt to fix OSX tests in Travis-CI by upgrading pip.
Ben Williams [Tue, 5 Jun 2018 13:57:41 +0000 (09:57 -0400)]
Attempt to fix OSX tests in Travis-CI by upgrading pip.

6 years agoInitialize editmethod variable
codybuell [Fri, 27 Apr 2018 18:41:12 +0000 (14:41 -0400)]
Initialize editmethod variable

6 years agoAdd support for opening links in tabs and splits
codybuell [Fri, 27 Apr 2018 18:29:40 +0000 (14:29 -0400)]
Add support for opening links in tabs and splits

6 years agoAdd support for strike through which is supported by GFM but not in
Isaac Delton [Sat, 24 Mar 2018 15:22:54 +0000 (23:22 +0800)]
Add support for strike through which is supported by GFM but not in
standard markdown.

6 years agoMerge pull request #366 from GloverDonovan/fix/typo
Hiroshi Shirosaki [Fri, 23 Mar 2018 01:45:19 +0000 (10:45 +0900)]
Merge pull request #366 from GloverDonovan/fix/typo

Fix some typos

6 years agoFix some typos
Donovan Glover [Wed, 21 Mar 2018 23:03:29 +0000 (19:03 -0400)]
Fix some typos

6 years agoMerge pull request #363 from smancill/buffer-local-autocommands
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

6 years agoMake 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.

6 years agoMerge pull request #354 from codybuell/master
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.

6 years agoInitialize empty l:ext in case no ext opt set
codybuell [Fri, 19 Jan 2018 17:17:21 +0000 (12:17 -0500)]
Initialize empty l:ext in case no ext opt set

6 years agoCorrect escaping
codybuell [Wed, 17 Jan 2018 20:10:11 +0000 (15:10 -0500)]
Correct escaping

6 years agoAdd documentation for changing file extensions
codybuell [Wed, 17 Jan 2018 20:09:58 +0000 (15:09 -0500)]
Add documentation for changing file extensions

6 years agoMerge remote-tracking branch 'upstream/master'
codybuell [Wed, 17 Jan 2018 19:42:20 +0000 (14:42 -0500)]
Merge remote-tracking branch 'upstream/master'

7 years agoAdd a test for link title highlighting #343
Hiroshi Shirosaki [Thu, 21 Dec 2017 12:55:04 +0000 (21:55 +0900)]
Add a test for link title highlighting #343

7 years agoUse sudo on OSX on travis
Hiroshi Shirosaki [Fri, 15 Dec 2017 06:54:49 +0000 (15:54 +0900)]
Use sudo on OSX on travis

7 years agoInstall pip on OSX on travis
Hiroshi Shirosaki [Fri, 15 Dec 2017 06:49:48 +0000 (15:49 +0900)]
Install pip on OSX on travis

7 years agoFix pip install on OSX on travis
Hiroshi Shirosaki [Fri, 15 Dec 2017 06:45:48 +0000 (15:45 +0900)]
Fix pip install on OSX on travis

7 years agoInstall python 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

7 years agoAdd python path with OSX on travis
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

7 years agoUpdate doc for Follow named anchors
Hiroshi Shirosaki [Fri, 15 Dec 2017 04:43:21 +0000 (13:43 +0900)]
Update doc for Follow named anchors

7 years agoMerge pull request #335 from spearman/horiz-rule-syntax
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

7 years agoMerge pull request #312 from memeplex/namedanchor
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

7 years agoAdd some documentation
memeplex [Thu, 28 Sep 2017 01:51:01 +0000 (22:51 -0300)]
Add some documentation

7 years agoChange mkdRule match syntax to be more liberal
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.

7 years agoCorrect spelling to global variable name
codybuell [Tue, 27 Jun 2017 01:34:29 +0000 (21:34 -0400)]
Correct spelling to global variable name

7 years agoAdd support for another extension
codybuell [Mon, 26 Jun 2017 17:49:01 +0000 (13:49 -0400)]
Add support for another extension

7 years agoMerge pull request #326 from memeplex/escapemath
Hiroshi Shirosaki [Wed, 10 May 2017 03:54:22 +0000 (12:54 +0900)]
Merge pull request #326 from memeplex/escapemath

Skip escaped $ inside math

7 years agoSkip escaped $ inside math
memeplex [Fri, 28 Apr 2017 17:56:38 +0000 (14:56 -0300)]
Skip escaped $ inside math

7 years agoAdd document for math conceal #277
Hiroshi Shirosaki [Thu, 16 Mar 2017 08:25:40 +0000 (17:25 +0900)]
Add document for math conceal #277

7 years agoAdd tests for `ge` command
Hiroshi Shirosaki [Thu, 16 Mar 2017 01:50:13 +0000 (10:50 +0900)]
Add tests for `ge` command

7 years agoUpdate doc for `ge`
Hiroshi Shirosaki [Thu, 16 Mar 2017 00:39:28 +0000 (09:39 +0900)]
Update doc for `ge`

7 years agoAdd a test for footnotes #314
Hiroshi Shirosaki [Thu, 9 Mar 2017 06:04:38 +0000 (15:04 +0900)]
Add a test for footnotes #314

7 years agoDon't highlight footnote def as link def
memeplex [Fri, 3 Mar 2017 23:12:41 +0000 (20:12 -0300)]
Don't highlight footnote def as link def

7 years agoFix test description #319
Hiroshi Shirosaki [Thu, 9 Mar 2017 05:57:48 +0000 (14:57 +0900)]
Fix test description #319

7 years agoMerge pull request #318 from 'memeplex/linkbracket'
Hiroshi Shirosaki [Thu, 9 Mar 2017 05:14:38 +0000 (14:14 +0900)]
Merge pull request #318 from 'memeplex/linkbracket'

Fix mkdLink highlighting region

7 years agoAdd a test for mkdLink #319
Hiroshi Shirosaki [Thu, 9 Mar 2017 05:12:11 +0000 (14:12 +0900)]
Add a test for mkdLink #319

7 years agoFix two line link syntax
memeplex [Wed, 8 Mar 2017 21:10:54 +0000 (18:10 -0300)]
Fix two line link syntax

7 years agoFix last line header folding
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

7 years agoFix mkdLink highlighting region
memeplex [Sun, 5 Mar 2017 23:48:35 +0000 (20:48 -0300)]
Fix mkdLink highlighting region

7 years agoAllow local anchors and improve buffer filename.
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 (:.).

7 years agoFollow named anchors with ge
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.

7 years agoFix error: stty: stdin isn't a terminal on travis
Hiroshi Shirosaki [Thu, 2 Feb 2017 08:31:49 +0000 (17:31 +0900)]
Fix error: stty: stdin isn't a terminal on travis