]> 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
6 years agoRemove dead s:pair_pos (#108)
Daniel Hahler [Tue, 24 Jul 2018 23:33:45 +0000 (01:33 +0200)]
Remove dead s:pair_pos (#108)

Its usage was removed in 782b0f0.

6 years agoMerge pull request #110 from blueyed/v8.1.0129
Daniel Hahler [Tue, 24 Jul 2018 23:23:28 +0000 (01:23 +0200)]
Merge pull request #110 from blueyed/v8.1.0129

tests: use Vim v8.1.0129 to work around Vim bug

6 years agoFix cython tests that successful due to Vim segfaulting and vimrunner not handling it
Daniel Hahler [Tue, 24 Jul 2018 23:19:51 +0000 (01:19 +0200)]
Fix cython tests that successful due to Vim segfaulting and vimrunner not handling it

6 years agotests: use Vim v8.1.0129 to work around Vim bug
Daniel Hahler [Tue, 24 Jul 2018 22:59:20 +0000 (00:59 +0200)]
tests: use Vim v8.1.0129 to work around Vim bug

This works around a segfault with profiling.

Ref: https://github.com/vim/vim/commit/ad6480961080f80a455b2394f27b02935a2ded52#commitcomment-29790223

6 years agoREADME: update badges: CircleCI/Codecov
Daniel Hahler [Sun, 22 Jul 2018 21:59:18 +0000 (23:59 +0200)]
README: update badges: CircleCI/Codecov

6 years agoAddress Flake8's E127 with "if (" (#102)
Daniel Hahler [Sun, 22 Jul 2018 21:54:26 +0000 (23:54 +0200)]
Address Flake8's E127 with "if (" (#102)

> continuation line over-indented for visual indent

It appears that the "if (" is just the 4 columns wide that triggers the
extra indent with sw=4.

Might also change/adjust b:control_statement to ignore `if (`, but this
appears to be more flexible/correct.

6 years agotests: fix vim.kill: use <CR> (#109)
Daniel Hahler [Sat, 21 Jul 2018 20:22:15 +0000 (22:22 +0200)]
tests: fix vim.kill: use <CR> (#109)

6 years agoCoverage reporting via covimerage (#107)
Daniel Hahler [Sat, 21 Jul 2018 20:07:45 +0000 (22:07 +0200)]
Coverage reporting via covimerage (#107)

This splits out the tests for cython, since the runtime file gets
reloaded for them, and that resets profiling information.

6 years ago- make brightblue in dark background a bit darker
Stefan Wimmer [Sat, 21 Jul 2018 14:05:21 +0000 (16:05 +0200)]
- make brightblue in dark background a bit darker

6 years ago- upstream update for terminal colours
Stefan Wimmer [Sat, 21 Jul 2018 13:48:39 +0000 (15:48 +0200)]
- upstream update for terminal colours
- add more blue to the dark backgrounds

6 years agoUse Docker for easier test running (#86)
Daniel Hahler [Sat, 21 Jul 2018 07:02:47 +0000 (09:02 +0200)]
Use Docker for easier test running (#86)

Switches to CircleCI instead of Travis, which handles running tests in
Docker much better, especially since Travis is really slow (~30min vs
2.5min on CircleCI).

The Docker image is based on
https://github.com/tweekmonster/vim-testbed, and targets are added to
the Makefile to build/push it.

6 years agotests: remove nil from hang-closing tests (#105)
Daniel Hahler [Tue, 17 Jul 2018 22:37:40 +0000 (00:37 +0200)]
tests: remove nil from hang-closing tests (#105)

There is not much value in running all tests with it to see that the
default is used.

6 years agoTravis: do not pin rvm (#103)
Daniel Hahler [Mon, 16 Jul 2018 18:02:16 +0000 (20:02 +0200)]
Travis: do not pin rvm (#103)

6 years agoTravis: remove vint for now
Daniel Hahler [Mon, 16 Jul 2018 18:00:35 +0000 (20:00 +0200)]
Travis: remove vint for now

It is always failing, not worth fixing for now.

Ref: https://github.com/Kuniwak/vint/pull/288
Ref: https://github.com/Kuniwak/vint/issues/287

6 years agoGemfile: update vimrunner to 0.3.4 (#104)
Daniel Hahler [Mon, 16 Jul 2018 17:55:51 +0000 (19:55 +0200)]
Gemfile: update vimrunner to 0.3.4 (#104)

6 years agoREADME: add Troubleshooting section
Daniel Hahler [Sun, 15 Jul 2018 19:31:38 +0000 (21:31 +0200)]
README: add Troubleshooting section

Fixes https://github.com/Vimjas/vim-python-pep8-indent/issues/75.

6 years agoAdd option for hanging closing brackets (#94)
Jake Harr [Sun, 15 Jul 2018 19:11:26 +0000 (15:11 -0400)]
Add option for hanging closing brackets (#94)

The main idea is discussed at length in PyCQA/pycodestyle#103.

* Add tests for `python_pep8_indent_hang_closing`

This might be overkill. It reruns the current "vim" set of tests once
for each value of the new setting. Of course, this makes the test suite
take longer to run. I couldn't think of a good way to factor out the
relevant test cases without creating a mess.

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 ago- change DiffText to green
Stefan Wimmer [Thu, 10 May 2018 22:56:37 +0000 (00:56 +0200)]
- change DiffText to green

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 ago- make LineNr a bit more visible
Stefan Wimmer [Sat, 7 Apr 2018 03:46:39 +0000 (05:46 +0200)]
- make LineNr a bit more visible

6 years ago- modify colours of several messages (mainly remove the bold attribute)
Stefan Wimmer [Wed, 4 Apr 2018 23:32:16 +0000 (01:32 +0200)]
- modify colours of several messages (mainly remove the bold attribute)
- remove duplicate

6 years ago- make white readable
Stefan Wimmer [Wed, 4 Apr 2018 12:37:16 +0000 (14:37 +0200)]
- make white readable
- lighten up MatchParen

6 years agoUpdate Readme.
Stefan Wimmer [Tue, 3 Apr 2018 13:38:09 +0000 (15:38 +0200)]
Update Readme.

6 years agoAdd newline for readability.
Stefan Wimmer [Mon, 2 Apr 2018 23:47:14 +0000 (01:47 +0200)]
Add newline for readability.

6 years agoUpdate Readme.
Stefan Wimmer [Mon, 2 Apr 2018 23:02:36 +0000 (01:02 +0200)]
Update Readme.

6 years agoInitial import.
Stefan Wimmer [Mon, 2 Apr 2018 22:51:34 +0000 (00:51 +0200)]
Initial import.

6 years agoInitial commit
Stefan Wimmer [Mon, 2 Apr 2018 22:36:23 +0000 (00:36 +0200)]
Initial commit

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.

7 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.

7 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

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

7 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

7 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 agov0.9
Andy Wokula [Fri, 15 Dec 2017 18:22:52 +0000 (19:22 +0100)]
v0.9

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 agoRevert "Improve s:find_start_of_multiline_statement: only look for round parens"...
Daniel Hahler [Fri, 17 Nov 2017 13:58:22 +0000 (14:58 +0100)]
Revert "Improve s:find_start_of_multiline_statement: only look for round parens" (#95)

This reverts commit 922268fbd89a49991b5b5b73e969f8daa8a10263.

Add a regression test.

Conflicts:
indent/python.vim

7 years agoMerge pull request #91 from Vimjas/maxoff-by-type
Daniel Hahler [Thu, 16 Nov 2017 17:47:52 +0000 (18:47 +0100)]
Merge pull request #91 from Vimjas/maxoff-by-type

Intermediate fix for indenting huge dicts

7 years agouse 50 for round parens, add tests
Daniel Hahler [Thu, 16 Nov 2017 16:28:46 +0000 (17:28 +0100)]
use 50 for round parens, add tests

7 years agogitignore
Andy Wokula [Sat, 21 Oct 2017 15:51:17 +0000 (17:51 +0200)]
gitignore

7 years agoadded \{...\}
Andy Wokula [Sat, 21 Oct 2017 15:47:30 +0000 (17:47 +0200)]
added \{...\}

7 years agoextend flp to work on itemised lists too
martin f. krafft [Wed, 18 Oct 2017 13:15:43 +0000 (15:15 +0200)]
extend flp to work on itemised lists too

7 years agoImprove s:find_start_of_multiline_statement: only look for round parens
Daniel Hahler [Mon, 9 Oct 2017 02:18:35 +0000 (04:18 +0200)]
Improve s:find_start_of_multiline_statement: only look for round parens

7 years agos:find_opening_paren: use known nearest for stopline
Daniel Hahler [Thu, 5 Oct 2017 21:20:50 +0000 (23:20 +0200)]
s:find_opening_paren: use known nearest for stopline

7 years agoIntermediate fix for indenting huge dicts
Daniel Hahler [Thu, 5 Oct 2017 21:12:24 +0000 (23:12 +0200)]
Intermediate fix for indenting huge dicts

This uses different offsets for the type of pairs: '()' and '[]' will
only look for just 20 lines above, while 1000 lines are used for '{}',
which might be a huge dict.

Ref: https://github.com/Vimjas/vim-python-pep8-indent/pull/64.

7 years agoImprove tests (#93)
Daniel Hahler [Sat, 7 Oct 2017 19:45:40 +0000 (21:45 +0200)]
Improve tests (#93)

* Travis: use "make test"

* Travis: do not start Xvfb

* Makefile: make test fast, add test_slow

7 years agotests: explicitly enable old "should" syntax to fix deprecation warnings (#92)
Daniel Hahler [Sat, 7 Oct 2017 19:29:10 +0000 (21:29 +0200)]
tests: explicitly enable old "should" syntax to fix deprecation warnings (#92)

> Deprecation Warnings:
>
> Using `should` from rspec-expectations' old `:should` syntax without
> explicitly enabling the syntax is deprecated. Use the new `:expect`
> syntax or explicitly enable `:should` with `config.expect_with(:rspec) {
> |c| c.syntax = :should }` instead. Called from
> …/vim-python-pep8-indent/spec/indent/indent_spec.rb:141:in
> `block (3 levels) in <top (required)>'.

7 years agomake zsh integration depend on vim being installed
martin f. krafft [Wed, 4 Oct 2017 09:47:55 +0000 (11:47 +0200)]
make zsh integration depend on vim being installed

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

7 years agoIndent next line if prev line is empty (+tests) (#88)
Ivan Smirnov [Mon, 21 Aug 2017 15:59:17 +0000 (16:59 +0100)]
Indent next line if prev line is empty (+tests) (#88)

7 years agoupdated to v0.7 (2013)
Andy Wokula [Sun, 6 Aug 2017 17:41:53 +0000 (19:41 +0200)]
updated to v0.7 (2013)

7 years agoTravis: update config (#87)
Daniel Hahler [Sun, 30 Jul 2017 14:34:15 +0000 (16:34 +0200)]
Travis: update config (#87)

* Travis: update config based on splitjoin's config
* rvm: 2.4.1
* Add VIMRUNNER_REUSE_SERVER, and a wrapper Makefile
* Travis: VIMRUNNER_REUSE_SERVER=1
* Start Xvfb manually

7 years agotests: insert blank lines before each test (#89)
Daniel Hahler [Sun, 30 Jul 2017 14:17:23 +0000 (16:17 +0200)]
tests: insert blank lines before each test (#89)

This is required with reuse_server.

7 years agoREADME: add g: prefix to config section
Daniel Hahler [Sat, 29 Jul 2017 13:43:28 +0000 (15:43 +0200)]
README: add g: prefix to config section

7 years agoUpgrade vimrunner to 0.3.3 (#85)
Daniel Hahler [Sat, 29 Jul 2017 13:28:39 +0000 (15:28 +0200)]
Upgrade vimrunner to 0.3.3 (#85)

7 years agoTravis: run vint, build only master branch
Daniel Hahler [Sat, 29 Jul 2017 12:50:37 +0000 (14:50 +0200)]
Travis: run vint, build only master branch

7 years agoLint fixes (vint)
Daniel Hahler [Sat, 29 Jul 2017 12:35:28 +0000 (14:35 +0200)]
Lint fixes (vint)

7 years agoDo not set expandtab, (soft)tabstop, shiftwidth (#83)
Daniel Hahler [Sat, 29 Jul 2017 13:10:07 +0000 (15:10 +0200)]
Do not set expandtab, (soft)tabstop, shiftwidth (#83)

It is not the job of an indent plugin to set those.

Closes https://github.com/Vimjas/vim-python-pep8-indent/pull/70.
Closes https://github.com/Vimjas/vim-python-pep8-indent/pull/80.

7 years agoIndent empty lines inside blocks (#81)
Ivan Smirnov [Sat, 29 Jul 2017 13:09:18 +0000 (14:09 +0100)]
Indent empty lines inside blocks (#81)

7 years agoAdd a symlink for cython (#74)
Daniel Hahler [Sat, 29 Jul 2017 12:24:37 +0000 (14:24 +0200)]
Add a symlink for cython (#74)

Fixes https://github.com/Vimjas/vim-python-pep8-indent/issues/73.

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 agoUpdate gitignore
martin f. krafft [Fri, 23 Jun 2017 14:53:24 +0000 (07:53 -0700)]
Update gitignore

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 agoswitch vimperator hook to pentadactyl
martin f. krafft [Thu, 16 Mar 2017 19:52:45 +0000 (08:52 +1300)]
switch vimperator hook to pentadactyl

7 years agoenhanced viminfo
martin f. krafft [Thu, 16 Mar 2017 19:52:31 +0000 (08:52 +1300)]
enhanced viminfo

7 years agolet vim set zsh editor/visual variables
martin f. krafft [Thu, 16 Mar 2017 19:52:16 +0000 (08:52 +1300)]
let vim set zsh editor/visual variables

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 (:.).