Merge branch 'multi_ft' into dev

This allows setting multiple filetypes at the same time e.g. 'vimwiki.md'
Closes #817, resolves #830, resolves #461.
This commit is contained in:
Rane Brown
2020-04-03 13:31:36 -06:00
6 changed files with 48 additions and 9 deletions

View File

@ -3384,6 +3384,20 @@ The default is to enable all key mappings except the mouse: >
\ }
------------------------------------------------------------------------------
*g:vimwiki_filetypes*
A list of additional fileypes that should be registered to vimwiki files: >
let g:vimwiki_filetypes = ['markdown', 'pandoc']
Would result in the filetype being set to `vimwiki.markdown.pandoc`. This can
be used to enable third party plugins such as custom folding. WARNING: this
option can allow other plugins to overwrite vimwiki settings and operation so
take care when using it. Any plugin that uses a set filetype will be enabled.
The default is `[ ]`
==============================================================================
13. Getting help *vimwiki-help*