Permalink
Browse files

Bug fix for italic highlighting

  • Loading branch information...
1 parent 72ea4ed commit e5e60d755a48acb3bce89bee455096b05c6231ef @xolox committed Dec 22, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 notes.vim
  2. +1 −1 syntax.vim
View
@@ -3,7 +3,7 @@
" Last Change: December 22, 2010
" URL: http://peterodding.com/code/vim/notes/
" License: MIT
-" Version: 0.7.5
+" Version: 0.7.6
" Support for automatic update using the GLVS plug-in.
" GetLatestVimScripts: 3375 1 :AutoInstall: session.zip
View
@@ -35,7 +35,7 @@ highlight def link notesListNumber Comment
" Highlight text emphasized in italic font. {{{2
if has('conceal')
- syntax region notesItalic matchgroup=notesItalicMarker start=/\<_[A-Za-z]\@=/ end=/\n\|\<_\>/ contains=@Spell concealends
+ syntax region notesItalic matchgroup=notesItalicMarker start=/\<_[A-Za-z]\@=/ end=/_\>\|\n/ contains=@Spell concealends
highlight link notesItalicMarker notesHiddenMarker
else
syntax match notesItalic /\<_\w[^_]*\w_\>/

0 comments on commit e5e60d7

Please sign in to comment.