Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support file exclusion in link generation #636

Merged
merged 1 commit into from Mar 31, 2019
Merged

Support file exclusion in link generation #636

merged 1 commit into from Mar 31, 2019

Conversation

sstallion
Copy link
Contributor

This PR adds support for excluding files when generating or checking links. This is useful if the wiki directory contains additional files with the same extension that you do not wish to index (i.e. README.md).

This was tested against a markdown wiki with and without glob patterns in the exclusion list with calls to VimwikiGenerateLinks and VimwikiCheckLinks.

@ranebrown ranebrown added this to In progress in v2.5 Release Mar 31, 2019
@ranebrown ranebrown merged commit 1ba99ae into vimwiki:dev Mar 31, 2019
v2.5 Release automation moved this from In progress to Done Mar 31, 2019
ranebrown added a commit that referenced this pull request Dec 15, 2019
PR #634, PR #635, and PR #636 introduced new features that broke
compatibility with older version of Vim. This modifies those changes to
ensure compatibility. Closes #781.

Removes usage of funcref(), closure. Fixes filter() call.
Made globpath calls not use the list argument.
Unlet a variable that is reused (sticky type checking)

v7.4.1989 modified filter() to accept a Funcref
v7.4.2120 Added function "closure" argument
v7.4.2137 add funcref()
tinmarino pushed a commit to tinmarino/vimwiki that referenced this pull request Dec 15, 2019
PR vimwiki#634, PR vimwiki#635, and PR vimwiki#636 introduced new features that broke
compatibility with older version of Vim. This modifies those changes to
ensure compatibility. Closes vimwiki#781.

Removes usage of funcref(), closure. Fixes filter() call.
Made globpath calls not use the list argument.
Unlet a variable that is reused (sticky type checking)

v7.4.1989 modified filter() to accept a Funcref
v7.4.2120 Added function "closure" argument
v7.4.2137 add funcref()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v2.5 Release
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants