-
Notifications
You must be signed in to change notification settings - Fork 66
Restrict plugin operation to only paths listed to wiki root #132
Copy link
Copy link
Closed
Description
Description
Is there a way to disable the plugin globally like in vimwiki with g:vimwiki_global_ext = 0?
I am currently still using vimwiki plugin until I get a working conversion from vimwiki syntax to asciidoc syntax but if I use both the vimwiki plugin and the wiki.vim plugin then for creating links is overriden by wiki.vim when working in the vimwiki root directory.
From help page of vimwiki:
*g:vimwiki_global_ext*
Control the creation of |vimwiki-temporary-wiki|s.
If a file with a registered extension (see |vimwiki-register-extension|) is
opened in a directory that is: 1) not listed in |g:vimwiki_list|, and 2) not a
subdirectory of any such directory, then:
Value Description~
1 make temporary wiki and append it to |g:vimwiki_list|.
0 don't make temporary wiki in that dir.
If your preferred wiki extension is .txt then you can >
let g:vimwiki_global_ext = 0
to restrict Vimwiki's operation to only those paths listed in g:vimwiki_list.
Other text files wouldn't be treated as wiki pages.
Default: 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels