]> 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 ago- remove italic from CursorLine
Stefan Wimmer [Thu, 20 Dec 2018 14:07:57 +0000 (15:07 +0100)]
- remove italic from CursorLine

5 years agonumbered list regexp improvements
martin f. krafft [Wed, 19 Dec 2018 15:32:22 +0000 (16:32 +0100)]
numbered list regexp improvements

5 years agodisable list/trailing space matching for mails
martin f. krafft [Wed, 19 Dec 2018 11:49:05 +0000 (12:49 +0100)]
disable list/trailing space matching for mails

5 years agoeditor config depending on mail area detection
martin f. krafft [Wed, 19 Dec 2018 11:41:31 +0000 (12:41 +0100)]
editor config depending on mail area detection

5 years ago- make diffs more readable
Stefan Wimmer [Tue, 18 Dec 2018 13:23:30 +0000 (14:23 +0100)]
- make diffs more readable
- menu background more neutral
- modified some colours (blue, red, magenta)

5 years agoFix multiprocessing support for Windows binary (#632)
Peter Stensmyr [Fri, 14 Dec 2018 15:01:50 +0000 (02:01 +1100)]
Fix multiprocessing support for Windows binary (#632)

* Fix multiprocessing support for Windows binary

The black and blackd binaries generated for Windows builds would fail on
reformatting multiple files due to a Windows-specific
multiprocessing issue. Fix by calling freeze_support() as
described in Python docs.

5 years agoAdd CORS support to blackd (#627)
Tushar Chandra [Mon, 10 Dec 2018 08:15:57 +0000 (02:15 -0600)]
Add CORS support to blackd (#627)

See issue #622. Use aiohttp-cors to allow cross-origin requests to blackd,
and add a dependency on it to the pipfile.

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

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

5 years agoAdd .eggs to default exclusions (#629)
Jim Brännlund [Thu, 29 Nov 2018 22:27:08 +0000 (23:27 +0100)]
Add .eggs to default exclusions (#629)

5 years agoSilence expected stderr (#621)
Jim Brännlund [Thu, 29 Nov 2018 21:43:22 +0000 (22:43 +0100)]
Silence expected stderr (#621)

* Silence expected stderr output during test

* Change based on PR comment

6 years agoReflect renaming of IPython notebook to Jupyter (#616)
Scott Stevenson [Fri, 23 Nov 2018 06:08:20 +0000 (06:08 +0000)]
Reflect renaming of IPython notebook to Jupyter (#616)

6 years agoAdd url to pep 257 in readme (#615)
Timo [Fri, 23 Nov 2018 06:07:08 +0000 (07:07 +0100)]
Add url to pep 257 in readme (#615)

6 years agoRefactor Travis (#614)
Jelle Zijlstra [Tue, 20 Nov 2018 16:42:43 +0000 (08:42 -0800)]
Refactor Travis (#614)

Fixes #305

- Run separate jobs for mypy, self-formatting, flake8, and test runs.
- Don't run flake8 in 3.8 because it is broken (and we can't really expect flake8 to always keep up with 3.8 development).
- Fix unused variable in test

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 agoMerge branch 'master' into searchpair-timeout
Daniel Hahler [Sun, 18 Nov 2018 11:00:33 +0000 (12:00 +0100)]
Merge branch 'master' into searchpair-timeout

Conflicts:
indent/python.vim

6 years agoMerge pull request #120 from blueyed/cleanup
Daniel Hahler [Sun, 18 Nov 2018 01:00:53 +0000 (02:00 +0100)]
Merge pull request #120 from blueyed/cleanup

Minor cleanup

6 years agos:find_opening_paren: pass lnum/col always, no winsaveview
Daniel Hahler [Fri, 16 Nov 2018 13:50:57 +0000 (14:50 +0100)]
s:find_opening_paren: pass lnum/col always, no winsaveview

6 years agoInline s:skip_search
Daniel Hahler [Fri, 16 Nov 2018 09:33:01 +0000 (10:33 +0100)]
Inline s:skip_search

6 years agos:find_opening_paren: remove wrong optimization
Daniel Hahler [Sat, 17 Nov 2018 23:49:06 +0000 (00:49 +0100)]
s:find_opening_paren: remove wrong optimization

6 years agoMerge branch 'master' into searchpair-timeout
Daniel Hahler [Sat, 17 Nov 2018 18:39:10 +0000 (19:39 +0100)]
Merge branch 'master' into searchpair-timeout

6 years agoKeep/handle (auto)indent with O (#119)
Daniel Hahler [Sat, 17 Nov 2018 18:10:46 +0000 (19:10 +0100)]
Keep/handle (auto)indent with O (#119)

6 years agoCover/fix non-matching multiline closing
Daniel Hahler [Fri, 16 Nov 2018 14:52:26 +0000 (15:52 +0100)]
Cover/fix non-matching multiline closing

6 years agos:find_opening_paren: code style
Daniel Hahler [Fri, 16 Nov 2018 13:53:53 +0000 (14:53 +0100)]
s:find_opening_paren: code style

6 years agos:find_opening_paren: pass lnum/col always, no winsaveview
Daniel Hahler [Fri, 16 Nov 2018 13:50:57 +0000 (14:50 +0100)]
s:find_opening_paren: pass lnum/col always, no winsaveview

6 years agoUse s:_skip_special_chars function directly/only, optimize
Daniel Hahler [Fri, 16 Nov 2018 13:44:16 +0000 (14:44 +0100)]
Use s:_skip_special_chars function directly/only, optimize

Does not use `skip` with `searchpairpos` directly, but manually (for
performance reasons; https://github.com/vim/vim/pull/3613).

6 years agos:indent_like_previous_line: switch conditions
Daniel Hahler [Fri, 16 Nov 2018 09:33:14 +0000 (10:33 +0100)]
s:indent_like_previous_line: switch conditions

6 years agoInline s:skip_search
Daniel Hahler [Fri, 16 Nov 2018 09:33:01 +0000 (10:33 +0100)]
Inline s:skip_search

6 years agoDo not skip/check concealed
Daniel Hahler [Fri, 16 Nov 2018 09:32:45 +0000 (10:32 +0100)]
Do not skip/check concealed

6 years agoUse s:_skip_special_chars function
Daniel Hahler [Fri, 16 Nov 2018 09:31:44 +0000 (10:31 +0100)]
Use s:_skip_special_chars function

This is mainly meant to show up better with profiling.

6 years agoAdd g:python_pep8_indent_searchpair_timeout
Daniel Hahler [Fri, 16 Nov 2018 04:01:49 +0000 (05:01 +0100)]
Add g:python_pep8_indent_searchpair_timeout

Ref: https://github.com/Vimjas/vim-python-pep8-indent/issues/116

6 years ago- make terminal colors more readable in both light and dark mode
Stefan Wimmer [Wed, 14 Nov 2018 00:14:42 +0000 (01:14 +0100)]
- make terminal colors more readable in both light and dark mode

6 years agoImproves performance on large commented logical lines (#606)
hauntsaninja [Tue, 13 Nov 2018 23:04:27 +0000 (15:04 -0800)]
Improves performance on large commented logical lines (#606)

Fixes #509

6 years agoFix two types to be Optional (#607)
hauntsaninja [Tue, 13 Nov 2018 23:02:27 +0000 (15:02 -0800)]
Fix two types to be Optional (#607)

6 years agoremove unused variable (#604)
Jelle Zijlstra [Tue, 13 Nov 2018 21:23:56 +0000 (13:23 -0800)]
remove unused variable (#604)

6 years agoUpdate isort config to use_parentheses instead of combine_as_imports (#547)
Calum Lind [Thu, 8 Nov 2018 10:54:05 +0000 (10:54 +0000)]
Update isort config to use_parentheses instead of combine_as_imports (#547)

The `combine_as_imports=True` modifies isort style as a side-effect and was not the intended purpose of the suggested change in #250. The problem was that isort was actually replacing the parens with backslash and using `combine_as_imports=True` happened to also produce the same result.

The actual setting should be `use_parentheses` as this tells isort to use parenthesis for line continuation instead of \ for lines over the allotted line length limit and matches precisely what black is outputting.

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 agoset entry to black (#553)
jgirardet [Mon, 29 Oct 2018 10:17:37 +0000 (11:17 +0100)]
set entry to black (#553)

6 years agopatch main to ensure click_patch() gets called (#572)
Chuck Wooters [Mon, 29 Oct 2018 10:10:32 +0000 (03:10 -0700)]
patch main to ensure click_patch() gets called (#572)

6 years agodelete unused code (#588)
Felix Kohlgrüber [Mon, 29 Oct 2018 10:09:06 +0000 (11:09 +0100)]
delete unused code (#588)

6 years agoTypo (#561)
Tony Narlock [Mon, 29 Oct 2018 10:07:50 +0000 (05:07 -0500)]
Typo (#561)

6 years agouse blackrelease github user for uploading release artifacts
Zsolt Dollenstein [Sat, 27 Oct 2018 16:50:59 +0000 (17:50 +0100)]
use blackrelease github user for uploading release artifacts

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 agoLink to Bugbear's documentation (#577)
Hugo [Fri, 19 Oct 2018 05:58:33 +0000 (08:58 +0300)]
Link to Bugbear's documentation (#577)

6 years agoExplicit # fmt: on/off indentation level (#554)
jgirardet [Tue, 9 Oct 2018 20:11:47 +0000 (22:11 +0200)]
Explicit # fmt: on/off indentation level (#554)

6 years agoadd --skip-numeric-underscore-normalization in readme (#537)
jgirardet [Thu, 27 Sep 2018 22:47:51 +0000 (00:47 +0200)]
add --skip-numeric-underscore-normalization in readme (#537)

6 years agoRequire attrs >= 18.1.0 to work around ctypes failure in Vim
Łukasz Langa [Thu, 27 Sep 2018 14:49:04 +0000 (07:49 -0700)]
Require attrs >= 18.1.0 to work around ctypes failure in Vim

Fixes #116, #539

6 years agov18.9b0
Łukasz Langa [Wed, 26 Sep 2018 20:05:49 +0000 (13:05 -0700)]
v18.9b0

6 years agoDeploy windows binary (#422)
Cong [Wed, 26 Sep 2018 19:23:16 +0000 (05:23 +1000)]
Deploy windows binary (#422)

6 years agoRemove whitespace at the beginning of the file
Łukasz Langa [Wed, 26 Sep 2018 19:18:45 +0000 (12:18 -0700)]
Remove whitespace at the beginning of the file

Fixes #399

6 years agoDeploy linux binary (#362) (#410)
Cong [Wed, 26 Sep 2018 19:07:35 +0000 (05:07 +1000)]
Deploy linux binary (#362) (#410)

6 years agoFix mangling pweave and Spyder IDE special comments
Łukasz Langa [Wed, 26 Sep 2018 16:42:42 +0000 (09:42 -0700)]
Fix mangling pweave and Spyder IDE special comments

Fixes #532.

6 years agoMake CHANGELOG more accurate
Łukasz Langa [Wed, 26 Sep 2018 16:20:44 +0000 (09:20 -0700)]
Make CHANGELOG more accurate

6 years agoMove should_explode handling to bracket_split_build_line
Łukasz Langa [Wed, 26 Sep 2018 15:53:56 +0000 (08:53 -0700)]
Move should_explode handling to bracket_split_build_line

6 years agoAdd trailing comma for single `as` imports, too
Łukasz Langa [Wed, 26 Sep 2018 15:26:35 +0000 (08:26 -0700)]
Add trailing comma for single `as` imports, too

6 years agoRefactor left_hand_split and right_hand_split to deduplicate line building logic
Łukasz Langa [Wed, 26 Sep 2018 14:40:23 +0000 (07:40 -0700)]
Refactor left_hand_split and right_hand_split to deduplicate line building logic

6 years agoadd blackd ignore pyproject (#536)
jgirardet [Wed, 26 Sep 2018 12:47:08 +0000 (14:47 +0200)]
add blackd ignore pyproject (#536)

6 years agoAdd trailing comma when a single import doesn't fit on a line. (#504)
Zsolt Dollenstein [Wed, 26 Sep 2018 12:26:50 +0000 (13:26 +0100)]
Add trailing comma when a single import doesn't fit on a line. (#504)

Fixes #250.

6 years agoAdd underscores to numeric literals with more than six digits (#529)
Zsolt Dollenstein [Wed, 26 Sep 2018 11:32:11 +0000 (12:32 +0100)]
Add underscores to numeric literals with more than six digits (#529)

6 years agoAdd .nox directories to default exclude (#525)
Tim Swast [Tue, 25 Sep 2018 15:25:58 +0000 (08:25 -0700)]
Add .nox directories to default exclude (#525)

[Nox](https://nox.readthedocs.io/) is similar to Tox. It creates a .nox directory that contains virtualenv for testing with different Python versions.

6 years agoUppercase digits in hex literals (#530)
Zsolt Dollenstein [Tue, 25 Sep 2018 15:01:56 +0000 (16:01 +0100)]
Uppercase digits in hex literals (#530)

6 years agoMerge pull request #72 from antoinemadec/no_blink
Vincent Driessen [Fri, 21 Sep 2018 06:38:35 +0000 (08:38 +0200)]
Merge pull request #72 from antoinemadec/no_blink

Prevent terminal from blinking

6 years agoMerge pull request #73 from antoinemadec/cclose_after_grep
Vincent Driessen [Fri, 21 Sep 2018 06:38:26 +0000 (08:38 +0200)]
Merge pull request #73 from antoinemadec/cclose_after_grep

Call 'cclose' after 'grep' in case quickfix is open on autocmd QuicFixCmdPost

6 years agoCall 'cclose' after 'grep' in case quickfix is open on autocmd QuickFixCmdPost
antoinemadec [Thu, 20 Sep 2018 22:38:15 +0000 (15:38 -0700)]
Call 'cclose' after 'grep' in case quickfix is open on autocmd QuickFixCmdPost

6 years agoPrevent terminal from blinking
antoinemadec [Thu, 20 Sep 2018 22:52:31 +0000 (15:52 -0700)]
Prevent terminal from blinking

6 years agoRemove superfluous augroup
Josef Fortier [Wed, 19 Sep 2018 02:30:21 +0000 (21:30 -0500)]
Remove superfluous augroup

6 years agoPolitiely only set filetype locally
Josef Fortier [Wed, 19 Sep 2018 02:23:53 +0000 (21:23 -0500)]
Politiely only set filetype locally

6 years agoImprove Poetry support
Łukasz Langa [Tue, 18 Sep 2018 23:50:20 +0000 (16:50 -0700)]
Improve Poetry support

6 years agoUpdate Poetry section in pyproject.toml (#490)
Sébastien Eustace [Tue, 18 Sep 2018 22:27:41 +0000 (17:27 -0500)]
Update Poetry section in pyproject.toml (#490)

6 years agoFix documentation build
Łukasz Langa [Tue, 18 Sep 2018 19:04:30 +0000 (12:04 -0700)]
Fix documentation build

6 years agoMove things around in change log for the latest version to sort in rough notability...
Łukasz Langa [Mon, 17 Sep 2018 17:15:16 +0000 (10:15 -0700)]
Move things around in change log for the latest version to sort in rough notability order

6 years agoblackd: a HTTP server for blackening (#460)
Zsolt Dollenstein [Mon, 17 Sep 2018 17:02:25 +0000 (18:02 +0100)]
blackd: a HTTP server for blackening (#460)

6 years agoFix handling of pythonBytesEscape from vim-python/python-syntax (#115)
Daniel Hahler [Mon, 17 Sep 2018 11:46:46 +0000 (13:46 +0200)]
Fix handling of pythonBytesEscape from vim-python/python-syntax (#115)

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

6 years agofix unstable formatting when unpacking big tuples (#514)
Zsolt Dollenstein [Mon, 17 Sep 2018 11:03:21 +0000 (12:03 +0100)]
fix unstable formatting when unpacking big tuples (#514)

* fix unstable formatting when unpacking big tuples

* add changelog entry

6 years agoUpdate atom plugin link to point to the python-black plugin (#505)
mikehoyio [Mon, 10 Sep 2018 09:19:55 +0000 (10:19 +0100)]
Update atom plugin link to point to the python-black plugin (#505)

6 years agoMake sure `async for` is not broken up to separate lines (#503)
Zsolt Dollenstein [Sat, 8 Sep 2018 09:34:08 +0000 (10:34 +0100)]
Make sure `async for` is not broken up to separate lines (#503)

Fixes #372.

6 years agoRed highlight for shorter passwords
Josef Fortier [Fri, 7 Sep 2018 03:09:12 +0000 (22:09 -0500)]
Red highlight for shorter passwords

6 years agoSeparate Command notes
Josef Fortier [Tue, 4 Sep 2018 22:14:36 +0000 (17:14 -0500)]
Separate Command notes

6 years agoAdd new function documentation to README
Josef Fortier [Tue, 4 Sep 2018 22:11:54 +0000 (17:11 -0500)]
Add new function documentation to README

6 years agoAdd support for password obscuring
Josef Fortier [Tue, 4 Sep 2018 22:07:49 +0000 (17:07 -0500)]
Add support for password obscuring

6 years agoAdd password obscuring
Josef Fortier [Tue, 4 Sep 2018 22:07:05 +0000 (17:07 -0500)]
Add password obscuring

6 years agoAdd doc file
Josef Fortier [Tue, 4 Sep 2018 21:23:42 +0000 (16:23 -0500)]
Add doc file

6 years agoUse vim as license
Josef Fortier [Tue, 4 Sep 2018 21:08:06 +0000 (16:08 -0500)]
Use vim as license

6 years agoAdd syntax
Josef Fortier [Tue, 4 Sep 2018 21:03:31 +0000 (16:03 -0500)]
Add syntax

6 years agoUpdate README to describe intent
Josef Fortier [Tue, 4 Sep 2018 20:59:04 +0000 (15:59 -0500)]
Update README to describe intent

6 years agoInitial setup
Josef Fortier [Tue, 4 Sep 2018 20:54:54 +0000 (15:54 -0500)]
Initial setup

6 years agoInitial commit
Josef Fortier [Tue, 4 Sep 2018 20:38:52 +0000 (15:38 -0500)]
Initial commit

6 years agoAdd trove classifier for Python 3.7 support (#486)
Jon Dufresne [Tue, 28 Aug 2018 12:00:57 +0000 (05:00 -0700)]
Add trove classifier for Python 3.7 support (#486)

Testing added in 3bdd42389128bbbe8b64a8e050563f09bff99979.

6 years agoPrefer https:// links where available (#485)
Jon Dufresne [Tue, 28 Aug 2018 12:00:05 +0000 (05:00 -0700)]
Prefer https:// links where available (#485)

6 years agoAdd build & dist directories to .gitignore (#487)
Jon Dufresne [Tue, 28 Aug 2018 11:59:00 +0000 (04:59 -0700)]
Add build & dist directories to .gitignore (#487)

Generated when running the command "python3 setup.py bdist_wheel".

6 years agoInclude license file in the generated wheel package (#484)
Jon Dufresne [Tue, 28 Aug 2018 11:58:21 +0000 (04:58 -0700)]
Include license file in the generated wheel package (#484)

The wheel package format supports including the license file. This is
done using the [metadata] section in the setup.cfg file. For additional
information on this feature, see:

https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file

Helps project comply with its own license:

> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.

6 years agoUpdate pypi.python.org URL to pypi.org (#488)
Jon Dufresne [Tue, 28 Aug 2018 11:52:32 +0000 (04:52 -0700)]
Update pypi.python.org URL to pypi.org (#488)

For details on the new PyPI, see the blog post:

https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html

6 years agoChange my email in the README (#483)
Eli Treuherz [Tue, 28 Aug 2018 08:56:55 +0000 (09:56 +0100)]
Change my email in the README (#483)

Would prefer my personal email here. I realise it's still in the git log but c'est la vie.

6 years agoISSUE_TEMPLATE.md: Add mention of online formatter (#481)
Nikolaus Waxweiler [Mon, 27 Aug 2018 09:10:45 +0000 (10:10 +0100)]
ISSUE_TEMPLATE.md: Add mention of online formatter (#481)

People can try out https://black.now.sh/?version=master to test against master. That should make issue reporting easier.

See https://github.com/jpadilla/black-playground/issues/6#issuecomment-416088863. Thanks @jpadilla!

6 years agofix lint errors
Zsolt Dollenstein [Sun, 26 Aug 2018 20:27:33 +0000 (21:27 +0100)]
fix lint errors

6 years agoadd test case for preserving newlines from stdin
Zsolt Dollenstein [Sun, 26 Aug 2018 20:19:22 +0000 (21:19 +0100)]
add test case for preserving newlines from stdin

6 years agochange some numeric behavior (#469)
Jelle Zijlstra [Thu, 23 Aug 2018 18:55:29 +0000 (11:55 -0700)]
change some numeric behavior (#469)

6 years agoadd changelog entry for #468
Zsolt Dollenstein [Thu, 23 Aug 2018 11:55:04 +0000 (12:55 +0100)]
add changelog entry for #468

6 years agofix bracket match bug (#470)
Jelle Zijlstra [Thu, 23 Aug 2018 11:52:07 +0000 (04:52 -0700)]
fix bracket match bug (#470)

* fix bracket match bug

* add missing test file