Merge pull request #346 from trnila/data-scheme

Support for data scheme
This commit is contained in:
EinfachToll 2017-07-09 14:46:48 +02:00 committed by GitHub
commit d5df4c7726

View File

@ -410,7 +410,7 @@ call s:default('auto_chdir', 0)
call s:default('schemes', 'wiki\d\+,diary,local') call s:default('schemes', 'wiki\d\+,diary,local')
call s:default('web_schemes1', 'http,https,file,ftp,gopher,telnet,nntp,ldap,'. call s:default('web_schemes1', 'http,https,file,ftp,gopher,telnet,nntp,ldap,'.
\ 'rsync,imap,pop,irc,ircs,cvs,svn,svn+ssh,git,ssh,fish,sftp') \ 'rsync,imap,pop,irc,ircs,cvs,svn,svn+ssh,git,ssh,fish,sftp')
call s:default('web_schemes2', 'mailto,news,xmpp,sip,sips,doi,urn,tel') call s:default('web_schemes2', 'mailto,news,xmpp,sip,sips,doi,urn,tel,data')
let s:rxSchemes = '\%('. let s:rxSchemes = '\%('.
\ join(split(g:vimwiki_schemes, '\s*,\s*'), '\|').'\|'. \ join(split(g:vimwiki_schemes, '\s*,\s*'), '\|').'\|'.