Skip to content

Doesn't work wiki-graph-find-backlinks and wiki-graph #217

@dmytrodubinin

Description

@dmytrodubinin

Description

I have errors when try to find backlinks and show graph:

wiki-graph-find-backlinks:

Error detected while processing function wiki#graph#find_backlinks[7]..49[4]..<SNR>148_gather_nodes[
9]..wiki#cache#open[9]..9[29]..14:
line    5:
E474: Attempt to decode a blank string
E474: Failed to parse
E712: Argument of extend() must be a List or Dictionary
Press ENTER or type command to continue

wiki-graph-in:

Error detected while processing function wiki#graph#in:
line   24:
E117: Unknown function: links_to
Press ENTER or type command to continue

my config: fedora 35, neovim 0.6 with init.vim:

let g:wiki_root = '/D-disk/MEGA/Documents/wiki'
let g:wiki_filetypes = ['md']
let g:wiki_link_target_type = 'md'
let g:wiki_link_extension = '.md'
let g:wiki_tags_scan_num_lines = 20
	  
let g:wiki_tags_format_pattern = '\v%(^|\s)#\zs[^# ]+' " for #tag format
	  
"export settings
let g:wiki_export = {
    \ 'args' : '',
    \ 'from_format' : 'markdown',
    \ 'ext' : 'html',
    \ 'view' : v:false,
    \ 'output': fnamemodify(tempname(), ':h'),
    \}
	  
" format links
let g:wiki_map_link_create = 'FormatLinks'
	  
function FormatLinks(text) abort
  "return substitute(a:text, '\s\+', '_', 'g')
  return substitute(tolower(a:text), '\s\+', '_', 'g')
endfunction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions