Matching fat symbols (current params) in a better way.

This commit is contained in:
Dave Halter
2015-03-26 15:06:25 +01:00
parent 3071700635
commit 69160c329a
2 changed files with 4 additions and 3 deletions

View File

@@ -6,8 +6,8 @@ if g:jedi#show_call_signatures > 0 && has('conceal')
let s:ignore = s:e.'jedi.\{-}'.s:e
exe 'syn match jediIgnore "'.s:ignore.'" contained conceal'
setlocal conceallevel=2
syn match jediFatSymbol "*" contained conceal
syn match jediFat "\*[^*]\+\*" contained contains=jediFatSymbol
syn match jediFatSymbol "\*_\*" contained conceal
syn match jediFat "\*_\*.\{-}\*_\*" contained contains=jediFatSymbol
syn match jediSpace "\v[ ]+( )@=" contained
exe 'syn match jediFunction "'.s:full.'" keepend extend '
\ .' contains=jediIgnore,jediFat,jediSpace'