8e53e53ffe
* NEW: Issue 41: Table cell and column text objects. See `vimwiki-text-objects`. * NEW: Issue 42: Commands to move table columns left and right. See `:VimwikiTableMoveColumnLeft` and `:VimwikiTableMoveColumnRight`. * NEW: Issue 44: `<S-Tab>` should move cursor to the previous table cell. * NEW: Issue 45: It should be possible to indent tables. Indented tables are centered in html. * NEW: Issue 46: Do not htmlize some wiki pages (blacklist). New placeholder is added: `%nohtml`. See `vimwiki-nohtml`. * FIX: Issue 47: Lists aren't HTMLized properly. * FIX: Issue 48: With autochdir it is impossible to have path_html such as `d:\vimwiki\html\` * FIX: Issue 49: Table is not HTMLized properly at the end of wiki page. * FIX: Issue 50: Inline formatting is not performed in table cells. * FIX: Issue 51: Cannot insert '-' (minus) into table cells of the first column. * FIX: Issue 52: Table cell width is incorrect when double wide characters are used (ie. Chinese). Check `g:vimwiki_CJK_length`. * NEW: Issue 53: Wiki markup can not nested. (Use links and inline markup in Headers). * NEW: Issue 54: Highlight for placeholders. * NEW: Issue 56: Directory indexes. See `g:vimwiki_dir_link` option and `:VimwikiGenerateLinks` command. * NEW: Issue 58: Html new lines with `<br />`. Could be inserted with `<S-CR>` in insert mode. * FIX: Issue 59: List item's text can't be started from `*`. * NEW: Issue 60: Links inside completed gtd-items. * NEW: Issue 61: Headers numbering. See `g:vimwiki_html_header_numbering` and `g:vimwiki_html_header_numbering_sym` options. * FIX: Issue 63: Table cannot have leading empty cells in html. * FIX: Issue 65: Table separator is not htmlized right if on top of the table. * FIX: Issue 66: Table empty cells are very small in html. * FIX: Issue 67: Wrong html conversion of multilined list item with bold text on the start of next line. * FIX: Issue 68: auto-indent problem with langmap. * FIX: Issue 73: Link navigation by Tab. "Escaped" wiki-word should be skipped for navigation with `<tab>`. * FIX: Issue 75: `code` syntax doesn't display correctly in toc. * FIX: Issue 77: Diary index only showing link to today's diary entry file for extensions other than '.wiki'. * FIX: Issue 79: Further calendar.vim integration -- add sign to calendar date if it has corresponding diary page. * FIX: Issue 80: Debian Lenny GUI Vim 7.2 has problems with toggling inner todo list items. * FIX: Issue 81: Don't convert `WikiWord` as a link in html when `let g:vimwiki_camel_case = 0`
59 lines
1.7 KiB
VimL
59 lines
1.7 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 = "'''[^']\\+'''"
|
|
|
|
" text: ''emphasis''
|
|
let g:vimwiki_rxItalic = "''[^']\\+''"
|
|
|
|
" text: '''''strong italic'''''
|
|
let g:vimwiki_rxBoldItalic = "'''''[^']\\+'''''"
|
|
let g:vimwiki_rxItalicBold = g:vimwiki_rxBoldItalic
|
|
|
|
" text: `code`
|
|
let g:vimwiki_rxCode = '`[^`]\+`'
|
|
|
|
" text: ~~deleted text~~
|
|
let g:vimwiki_rxDelText = '\~\~[^~]\+\~\~'
|
|
|
|
" text: ^superscript^
|
|
let g:vimwiki_rxSuperScript = '\^[^^]\+\^'
|
|
|
|
" text: ,,subscript,,
|
|
let g:vimwiki_rxSubScript = ',,[^,]\+,,'
|
|
|
|
" 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.'\)'
|
|
|
|
" <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>'
|