* NEW: Issue 57: Make it possible to have pre block inside list item. * NEW: Issue 82: Add quick goto command. See |:VimwikiGoto|. * NEW: Issue 83: Quick switch in diary. See |:VimwikiDiaryNextDay| and |:VimwikiDiaryPrevDay| commands. * FIX: Issue 84: Vimwiki rename removed the WikiWord display name. * FIX: Issue 85: Errors if you have '~' subdirectory in a wiki directory. * FIX: Issue 86: Existed links '[[WikiLink1|Alias1]] | [[WikiLink2]]' are highlighted as a single link. * FIX: Issue 88: Underline text. See |g:vimwiki_valid_html_tags|. * FIX: Issue 92: Wikies in a subdir could be renamed to an empty file. * FIX: Issue 93: Use alias name in html title. See |vimwiki-title|. * FIX: Issue 94: Relative links to PHP files are broken. See |g:vimwiki_file_exts| for details. * FIX: Issue 96: Closing bracket at the end of weblink shouldn't be a part of that link. * FIX: Issue 97: Error opening weblink in a browser if it has # inside. * FIX: Issue 99: Vim is not responing while opening arbitrary wiki file. * FIX: Issue 100: Additional content on diary index page could be corrupted. * NEW: Issue 101: Customized HTML tags. See |g:vimwiki_valid_html_tags| * NEW: Issue 102: Conceal feature usage. See |g:vimwiki_conceallevel|. * FIX: Issue 103: Always highlight links to non-wiki files as existed. * FIX: Issue 104: vimwiki#nested_syntax needs 'keepend' to avoid contained language syntax eat needed '}}}'. * FIX: Issue 105: <i_CR> on a todo list item with [ ] doesn't create new todo list item. * FIX: Issue 106: With MediaWiki syntax <C-Space> on a child todo list item produce errors. * FIX: Issue 107: With MediaWiki syntax <C-Space> on a list item creates todo list item without space between * and [ ]. * FIX: Issue 110: Syntax highlighting doesn't work for indented codeblock. * FIX: Issue 115: Nested Perl syntax highlighting differs from regular one. * MISC: Many vimwiki commands were renamed from Vimwiki.*Word to Vimwiki.*Link. VimwikiGoHome is renamed to VimwikiIndex, VimwikiTabGoHome to VimwikiTabIndex. * MISC: vimwiki-option-gohome is removed.
68 lines
2.1 KiB
VimL
68 lines
2.1 KiB
VimL
" vim:tabstop=2:shiftwidth=2:expandtab:foldmethod=marker:textwidth=79
|
|
" Vimwiki syntax file
|
|
" MediaWiki syntax
|
|
" Author: Maxim Kim <habamax@gmail.com>
|
|
" Home: http://code.google.com/p/vimwiki/
|
|
|
|
" text: '''strong'''
|
|
let g:vimwiki_rxBold = "'''[^']\\+'''"
|
|
let g:vimwiki_char_bold = "'''"
|
|
|
|
" text: ''emphasis''
|
|
let g:vimwiki_rxItalic = "''[^']\\+''"
|
|
let g:vimwiki_char_italic = "''"
|
|
|
|
" text: '''''strong italic'''''
|
|
let g:vimwiki_rxBoldItalic = "'''''[^']\\+'''''"
|
|
let g:vimwiki_rxItalicBold = g:vimwiki_rxBoldItalic
|
|
let g:vimwiki_char_bolditalic = "'''''"
|
|
let g:vimwiki_char_italicbold = g:vimwiki_char_bolditalic
|
|
|
|
" text: `code`
|
|
let g:vimwiki_rxCode = '`[^`]\+`'
|
|
let g:vimwiki_char_code = '`'
|
|
|
|
" text: ~~deleted text~~
|
|
let g:vimwiki_rxDelText = '\~\~[^~]\+\~\~'
|
|
let g:vimwiki_char_deltext = '\~\~'
|
|
|
|
" text: ^superscript^
|
|
let g:vimwiki_rxSuperScript = '\^[^^]\+\^'
|
|
let g:vimwiki_char_superscript = '^'
|
|
|
|
" text: ,,subscript,,
|
|
let g:vimwiki_rxSubScript = ',,[^,]\+,,'
|
|
let g:vimwiki_char_subscript = ',,'
|
|
|
|
" Header levels, 1-6
|
|
let g:vimwiki_rxH1 = '^\s*=\{1}[^=]\+.*[^=]\+=\{1}\s*$'
|
|
let g:vimwiki_rxH2 = '^\s*=\{2}[^=]\+.*[^=]\+=\{2}\s*$'
|
|
let g:vimwiki_rxH3 = '^\s*=\{3}[^=]\+.*[^=]\+=\{3}\s*$'
|
|
let g:vimwiki_rxH4 = '^\s*=\{4}[^=]\+.*[^=]\+=\{4}\s*$'
|
|
let g:vimwiki_rxH5 = '^\s*=\{5}[^=]\+.*[^=]\+=\{5}\s*$'
|
|
let g:vimwiki_rxH6 = '^\s*=\{6}[^=]\+.*[^=]\+=\{6}\s*$'
|
|
let g:vimwiki_rxHeader = '\%('.g:vimwiki_rxH1.'\)\|'.
|
|
\ '\%('.g:vimwiki_rxH2.'\)\|'.
|
|
\ '\%('.g:vimwiki_rxH3.'\)\|'.
|
|
\ '\%('.g:vimwiki_rxH4.'\)\|'.
|
|
\ '\%('.g:vimwiki_rxH5.'\)\|'.
|
|
\ '\%('.g:vimwiki_rxH6.'\)'
|
|
let g:vimwiki_char_header = '\%(^\s*=\+\)\|\%(=\+\s*$\)'
|
|
|
|
" <hr>, horizontal rule
|
|
let g:vimwiki_rxHR = '^----.*$'
|
|
|
|
" Tables. Each line starts and ends with '||'; each cell is separated by '||'
|
|
let g:vimwiki_rxTable = '||'
|
|
|
|
" Bulleted list items start with whitespace(s), then '*'
|
|
" highlight only bullets and digits.
|
|
let g:vimwiki_rxListBullet = '^\s*\*\+\([^*]*$\)\@='
|
|
let g:vimwiki_rxListNumber = '^\s*#\+'
|
|
|
|
let g:vimwiki_rxListDefine = '^\%(;\|:\)\s'
|
|
|
|
" Preformatted text
|
|
let g:vimwiki_rxPreStart = '<pre>'
|
|
let g:vimwiki_rxPreEnd = '<\/pre>'
|