From 5d0c9d3173b33cb8ef4e99928adfae0a224be9a9 Mon Sep 17 00:00:00 2001 From: nolleh7707 Date: Sun, 5 Feb 2023 08:02:03 +0900 Subject: [PATCH] docs: add description for disable extension support, to avoid accidently working as wiki for normal docs --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 0ece28f..9027f16 100644 --- a/README.md +++ b/README.md @@ -246,6 +246,12 @@ to your `.vimrc` to restrict Vimwiki's operation to only those paths listed in ` Other markdown files wouldn't be treated as wiki pages. See [g:vimwiki_global_ext](https://github.com/vimwiki/vimwiki/blob/619f04f89861c58e5a6415a4f83847752928252d/doc/vimwiki.txt#L2631). +if you want to turn off support for other extension(for example, disabling accidently creating new wiki and link for normal markdown files), +set the following option in your `.vimrc` before packadd vimwiki: +```vim +let g:vimwiki_ext2syntax = {} +``` +See [g:vimiki_ext2syntax](https://github.com/vimwiki/vimwiki/blob/619f04f89861c58e5a6415a4f83847752928252d/doc/vimwiki.txt#L2652) ## Getting help [GitHub issues](https://github.com/vimwiki/vimwiki/issues) are the primary