Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion autoload/wiki/page.vim
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function! wiki#page#gather_toc_entries(local) abort " {{{1
" Parse current header
let l:level = len(matchstr(l:line, '^#*'))
let l:header = matchlist(l:line, g:wiki#rx#header_items)[2]
if l:header ==# 'Innhald' | continue | endif
if l:header ==# g:wiki_toc_title | continue | endif
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, sorry! And thanks!


" Update header stack in order to have well defined anchor
let l:depth = len(l:anchor_stack)
Expand Down
2 changes: 1 addition & 1 deletion autoload/wiki/template.vim
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function! wiki#template#init() abort " {{{1
\ 'date': strftime("%F"),
\ 'name': expand('%:t:r'),
\ 'origin_file': l:origin[0],
\ 'origin_lnum': l:origin[1],
\ 'origin_lnum': l:origin[1][1],
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! I'll merge and then also fix a related problem in nav.vim.

\ 'path': expand('%:p'),
\ 'path_wiki': wiki#paths#shorten_relative(expand('%:p')),
\ 'time': strftime("%H:%M"),
Expand Down
2 changes: 1 addition & 1 deletion doc/wiki.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ OPTIONS *wiki-config-options*
`Windows`: Standard temporary folder (based on |tempname()|)

*g:wiki_cache_persistent*
Specify whether to use persistant caching.
Specify whether to use persistent caching.
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been caught misspelling this several times now. I should probably learn how to spell...


Default value: 1

Expand Down