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

Failed to generate markdown style link with Lazy.nvim #1379

Open
calon opened this issue Nov 16, 2023 · 1 comment
Open

Failed to generate markdown style link with Lazy.nvim #1379

calon opened this issue Nov 16, 2023 · 1 comment

Comments

@calon
Copy link

calon commented Nov 16, 2023

the file type is vimwiki.markdown, but when I trigger VimwikiFollowLink command, vimwiki still creates mediawiki style link

the syntax and ext configs are below, the wiki path part loaded correctly

{ "vimwiki/vimwiki",
        branch = "dev",
        init = function()
            vim.g.vimwiki_list = {
                {path = '~/Note/Inbox', syntax = 'markdown', ext = '.md', auto_tags = 1},
            }
            vim.g.vimwiki_filetypes = { "markdown" }
            vim.g.vimwiki_key_mappings = {table_mappings = 0}
        end,
    },

Version info:

Version: 2023.05.12
Os: Windows
Vim: 801
Branch: dev
Revision: 0bb1b49
Date: 2023-10-31 13:45:18 -0300
@calon
Copy link
Author

calon commented Nov 16, 2023

after open the wiki index file (file type is vimwiki.markdown)
:echo vimwiki#vars#get_wikilocal('syntax', 0)
:echo vimwiki#vars#get_wikilocal('ext', 0)
result is markdown and .md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant