aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'hotfix/v2.2.2'HEADv2.2.2masterTom Ryder2021-02-162-1/+7
|\ | | | | | | | | * hotfix/v2.2.2: Add path to accommodate macOS' dynamic $TMPDIR
| * Add path to accommodate macOS' dynamic $TMPDIRTom Ryder2021-02-161-0/+6
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per a report from Lakshay Garg <lakshayg@outlook.in>, the use of $TMPDIR in the Vim plugin's pattern match does not work on macOS X, due to the dynamic and symbolically-linked temporary dir structure this system uses. Lakshay's email to me, which includes a full explanation, is reproduced with his permission below. This change is reflected downstream in the password-store repository: <https://git.zx2c4.com/password-store/commit/?id=918992c> >Date: Sat, 13 Feb 2021 23:59:22 -0800 >From: Lakshay Garg <lakshayg@outlook.in> >To: tom@sanctum.geek.nz >Subject: [PATCH] vim: fix redact_pass.vim for macOS > >Hi Tom > >Thanks for maintaining redact_pass.vim. I came across an issue in the >plugin a few months ago and submitted a patch for it to the >password-store mailing list but did not get any responses. It seems >like since only you have been maintaining that file, I might have >better luck sending the patch to you. > >--- > >Problem: redact_pass.vim did not work on macOS machines >Fix: add resolve($TMPDIR) to the autcmd pattern list > >Explanation >=========== > >pass creates files under /private/var/<some-stuff> on macOS. >redact_pass.vim uses the following pattern to detect when to >enable the plugin: > >``` >$TMPDIR/pass.?*/?*.txt >``` > >This pattern expands to "/var/<some-stuff>//pass.?*/?*.txt" >on my macbook and has two problems: > >1. The double forward slash in the expanded pattern (after <some-stuff>) >2. pass uses /private/var but the pattern looks for /var > >Turns out, /var on macos is just a symlink to /private/var. >The autocmd fails to trigger because it is trying to match >the pattern: "/var/<some-stuff>//pass.?*/?*.txt" >to filename: "/private/var/<some-stuff>/pass.<random-chars>/<random-chars>.txt" > >The simplest fix is to make $TMPDIR point to "/private/var/..." >which is achieved by calling resolve on $TMPDIR prior to running >the autocmd. This also handles the double forward-slash. > >Thanks again >Lakshay
* Merge branch 'hotfix/v2.2.1'v2.2.1Tom Ryder2020-10-142-1/+2
|\ | | | | | | | | * hotfix/v2.2.1: Add :redraw just before diagnostic print
| * Add :redraw just before diagnostic printTom Ryder2020-10-141-0/+1
|/ | | | | Works around issues with some popular colorschemes in v8.1. Problem reported and fix suggested by Jeff Weston.
* Merge branch 'release/v2.2.0'v2.2.0Tom Ryder2019-08-022-5/+6
|\ | | | | | | | | | | * release/v2.2.0: Correct a grammar error Format option names in README.md
| * Bump VERSIONTom Ryder2019-08-021-1/+1
| |
| * Correct a grammar errorTom Ryder2019-08-021-2/+2
| |
| * Format option names in README.mdTom Ryder2019-08-021-2/+3
| |
| * Merge branch 'release/v2.1.0' into developTom Ryder2019-06-051-1/+1
| |\
* | \ Merge branch 'release/v2.1.0'v2.1.0Tom Ryder2019-06-053-3/+3
|\ \ \ | | |/ | |/| | | | | | | * release/v2.1.0: Remove unneeded function name
| * | Bump VERSIONTom Ryder2019-06-051-1/+1
| |/
| * Remove unneeded function nameTom Ryder2019-06-052-2/+2
| |
| * Merge branch 'release/v2.0.0' into developTom Ryder2019-05-251-1/+1
| |\
* | \ Merge branch 'release/v2.0.0'v2.0.0Tom Ryder2019-05-254-31/+28
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | * release/v2.0.0: Split an awkward conditional Move load guard tests inline Move code into autoloaded function Drop Vim 6.x support
| * | Bump VERSIONTom Ryder2019-05-251-1/+1
| |/
| * Split an awkward conditionalTom Ryder2019-05-251-1/+2
| |
| * Move load guard tests inlineTom Ryder2019-05-251-4/+1
| |
| * Move code into autoloaded functionTom Ryder2019-05-252-25/+24
| |
| * Drop Vim 6.x supportTom Ryder2019-05-252-2/+2
| |
| * Merge branch 'release/v1.3.0' into developTom Ryder2019-05-121-1/+1
| |\
* | \ Merge branch 'release/v1.3.0'v1.3.0Tom Ryder2019-05-124-7/+7
|\ \ \ | | |/ | |/| | | | | | | | | | * release/v1.3.0: Remove unneeded variable scoping Switch to two-spacing
| * | Bump VERSIONTom Ryder2019-05-121-1/+1
| |/
| * Remove unneeded variable scopingTom Ryder2019-05-121-2/+2
| |
| * Switch to two-spacingTom Ryder2019-05-122-4/+4
|/
* Corrections to documentationTom Ryder2018-06-241-3/+3
|
* Drastically simplify filename detectionTom Ryder2018-06-241-36/+7
| | | | | I don't know why a simple match on the VimEnter autocmd didn't occur to me before.
* Bump VERSIONv1.2.0Tom Ryder2018-06-171-1/+1
|
* Update updated dateTom Ryder2018-06-171-1/+1
|
* Rename to README.mdTom Ryder2018-06-171-0/+0
|
* Add version guardTom Ryder2018-06-171-1/+1
|
* Flesh out paths fully before comparisonsv1.1.0Tom Ryder2018-06-102-4/+18
|
* Completely refactor for version 1.0.0v1.0.0Tom Ryder2018-06-104-51/+61
| | | | | Turn off leaky options globally just after startup if we have only one file to edit and it matches the typical pass(1) path.
* Disable 'writebackup' toov0.1.0Tom Ryder2018-06-061-0/+1
|
* Add 'viminfo' feature testTom Ryder2018-06-061-1/+3
|
* Initial commitTom Ryder2018-06-064-0/+116