-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.pre-commit-hooks.yaml
More file actions
18 lines (18 loc) · 903 Bytes
/
.pre-commit-hooks.yaml
File metadata and controls
18 lines (18 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- id: vimwiki-cli
name: Vimwiki Command-Line Interface
description: |
A pre-commit hook script to execute non-interactive vimwiki commands to
rebuild tag metadata and generate links before commit. This hook relies on
the following configuration options.
vimwiki.options -- Extra options to pass to the vimwiki command
vimwiki.linkspage -- Page which contains generated links
vimwiki.taglinkspage -- Page which contains generated tag links
vimwiki.generatelinks -- Generate links before commit (bool)
vimwiki.generatediarylinks -- Generate diary links before commit (bool)
vimwiki.generatetaglinks -- Generate tag links before commit (bool)
vimwiki.rebuildtags -- Rebuild tag metadata before commit (bool)
vimwiki.allhtml -- Convert wiki to HTML before commit (bool)
entry: scripts/pre-commit.sh
language: script
require_serial: true
types: [text]