d5a6d097da
This release is partly incompatible with 1.2. You should delete previous version of vimwiki before install. = Summary = * Quick page-link creation. * Redesign of link syntaxes (!) * No more CamelCase links. Check the ways to convert them http://goo.gl/15ctX * No more [[link][desc]] links. * No more [http://link description] links. * No more plain image links. Use transclusions. * No more image links identified by extension. Use transclusions. * Interwiki links. * Link schemes. * Transclusions. * Normalize link command. * Improved diary organization and generation. * List manipulation. * Markdown support. * Mathjax support. * Improved handling of special characters and punctuation in filenames and urls. * Back links command: list links referring to the current page. * Highlighting nonexisted links are off by default. * Table syntax change. Row separator uses | instead of +. * Fold multilined list items. * Custom wiki to HTML converters. * Conceal long weblinks. * Option to disable table mappings. For detailed information see issues list on http://code.google.com/p/vimwiki/issues/list
72 lines
1.8 KiB
VimL
72 lines
1.8 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/
|
|
|
|
" placeholder for math environments
|
|
let b:vimwiki_mathEnv = ""
|
|
|
|
" text: $ equation_inline $
|
|
let g:vimwiki_rxEqIn = '\$[^$`]\+\$'
|
|
let g:vimwiki_char_eqin = '\$'
|
|
|
|
" 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 = ',,'
|
|
|
|
" generic headers
|
|
let g:vimwiki_rxH = '='
|
|
let g:vimwiki_symH = 1
|
|
|
|
|
|
|
|
" <hr>, horizontal rule
|
|
let g:vimwiki_rxHR = '^-----*$'
|
|
|
|
" Tables. Each line starts and ends with '|'; each cell is separated by '|'
|
|
let g:vimwiki_rxTableSep = '|'
|
|
|
|
" Bulleted list items start with whitespace(s), then '*'
|
|
" highlight only bullets and digits.
|
|
let g:vimwiki_rxListBullet = '^\s*\*\+\s\%([^*]*$\)\@='
|
|
let g:vimwiki_rxListNumber = '^\s*#\+\s'
|
|
|
|
let g:vimwiki_rxListDefine = '^\%(;\|:\)\s'
|
|
|
|
" Preformatted text
|
|
let g:vimwiki_rxPreStart = '<pre>'
|
|
let g:vimwiki_rxPreEnd = '<\/pre>'
|
|
|
|
" Math block
|
|
let g:vimwiki_rxMathStart = '{{\$'
|
|
let g:vimwiki_rxMathEnd = '}}\$'
|
|
|
|
let g:vimwiki_rxComment = '^\s*%%.*$'
|