8000 VimwikiGenerateTags links don't handle file hierarchy correctly · Issue #794 · vimwiki/vimwiki · GitHub
[go: up one dir, main page]

Skip to content

VimwikiGenerateTags links don't handle file hierarchy correctly #794

@jean

Description

@jean

Create a tag (e.g. :SomeTag:), rebuild tags, and in diary/2020-01-02.wiki issue the command :VimwikiGenerateTags.

  • This results in links like [[diary/2020-01-02#SomeTag]]. When that link is followed, vim tries to create diary/diary/2020-01-02.wiki. This is wrong:
    • either links should be generated based on the main wiki directory (like [[/diary/2020-01-02#SomeTag]]),
    • or (better) they should be generated relative to the file in which the :VimwikiGenerateTags command is issued ([[2020-01-02#SomeTag]]).

This is a follow-on from #190.


Syntax: default.

From .vimrc:

let wiki = {}
let wiki.name = 'wiki'
let wiki.path = '~/wiki/'
let wiki.nested_syntaxes = nested_syntaxes
let wiki.auto_tags = 1

The output of :VimwikiShowVersion.

Branch: dev
Revision: 5cdeb9a
Date: 2020-01-01 10:58:56 -0700

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtagRelated to tag system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0