diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/sisu/conf/editor-syntax-etc/vim/addons/syntax/sisu.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/data/sisu/conf/editor-syntax-etc/vim/addons/syntax/sisu.vim b/data/sisu/conf/editor-syntax-etc/vim/addons/syntax/sisu.vim index 8a114b64..9b2b562d 100644 --- a/data/sisu/conf/editor-syntax-etc/vim/addons/syntax/sisu.vim +++ b/data/sisu/conf/editor-syntax-etc/vim/addons/syntax/sisu.vim @@ -22,7 +22,7 @@ if !exists("sisu_no_identifiers") syn match sisu_control "\"" syn match sisu_underline "\(^\| \)_[a-zA-Z0-9]\+_\([ .,]\|$\)" syn match sisu_number contains=@NoSpell "[0-9a-f]\{32\}\|[0-9a-f]\{64\}" - syn match sisu_link contains=@NoSpell "\(https\?://\|\.\.\/\)\S\+" + syn match sisu_link contains=@NoSpell "\(_\?https\?://\|\.\.\/\)\S\+" "metaverse specific syn match sisu_ocn contains=@NoSpell "<\~\d\+;\w\d\+;\w\d\+>" syn match sisu_marktail "<\~#>" @@ -106,9 +106,9 @@ syn region sisu_markpara contains=sisu_error,sisu_error_wspace start="^=begin" syn match sisu_error_wspace contains=sisu_error_wspace "^\s\+" syn match sisu_error_wspace contains=sisu_error_wspace "\s\s\+" syn match sisu_error_wspace contains=sisu_error_wspace " \s*$" -syn match sisu_error contains=sisu_error,sisu_error_wspace "[^ (}]https\?:\S\+" syn match sisu_error contains=sisu_error_wspace "\t\+" -syn match sisu_error contains=sisu_error "https\?:\S\+[}><]" +syn match sisu_error contains=sisu_error,sisu_error_wspace "\([^ (][_\\]\||[^ (}]\)https\?:\S\+" +syn match sisu_error contains=sisu_error "_\?https\?:\S\+[}><]" syn match sisu_error contains=sisu_error "\([!*/_\+,^]\){\([^(\}\1)]\)\{-}\n\n" syn match sisu_error contains=sisu_error "^[\~]{[^{]\{-}\n\n" syn match sisu_error contains=sisu_error "\s\+.{{" @@ -128,8 +128,8 @@ syn match sisu_error "/\?<\([biu]\)>[^(</\1>)]\{-}\n\n" syn match sisu_control "\n\n" "contains=ALL syn match sisu_control " //" syn match sisu_error "%{" -syn match sisu_error "<br>https\?:\S\+\|https\?:\S\+<br>" -syn match sisu_error "[><]https\?:\S\+\|https\?:\S\+[><]" +syn match sisu_error "<br>_\?https\?:\S\+\|_\?https\?:\S\+<br>" +syn match sisu_error "[><]_\?https\?:\S\+\|_\?https\?:\S\+[><]" "% 2 Definitions - Define the default highlighting. if version >= 508 || !exists("did_sisu_syntax_inits") if version < 508 |