Skip to content

Adding info about g:wiki_filetypes behaviour in docs #190

@DerpGusta

Description

@DerpGusta

I was trying to make markdown as the default extension for my wiki. When I searched the docs, I could not find any info on it.
After some searching, I came to understand that the plugin looks for the filetype to be set in g:wiki_filetypes . Once I added 'md' to the beginning , the default wiki index shortcut redirected to index.md.

I would like to suggest adding some more info about this behaviour in the documentation like so:

*g:wiki_filetypes*
 List of filetypes for which |wiki.vim| should be enabled. 
 If you want to make markdown the default format, you can do so like this:
          let g:wiki_filetypes = [ 'md', 'wiki', ... ]

  Default: ['wiki']

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