Skip to content

Change default file format to Markdown #289

@lervag

Description

@lervag

wiki.vim is enabled by default for .wiki files, that is, files with filetype wiki. However, the wiki filetype is unspecified and the wiki-ft.vim plugin mention in the README file is not quite appropriate as a default value. Further, wiki.vim works perfectly well with e.g. Markdown. Thus, it does not make sense to have wiki be the default filetype.

Proposed changes:

  • Change the default value of g:wiki_filetypes to ['md'].
  • Change the default value of g:wiki_link_target_Type to 'md'.
  • Change the default value of g:wiki_link_extension to '.md' (Markdown links are by default path links, thus it is likely that most people want the link with extensions applied).
  • Update README.md: remove the text in the "Note: " from "A simple alternative". Say instead that wiki.vim is activated for Markdown files by default.
  • Update the section wiki-intro-plugins in the docs and better explain about filetype plugins.
  • Ensure that the docs reflect the updated default values.

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