diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-12-07 12:21:37 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-12-07 12:21:37 +0100 |
commit | 7a0f2d974f9ac5bc85607e8c769d3370dd18ac74 (patch) | |
tree | 5c2b955af8e0f2ed54442d9e938fad403148ffce /syntax/rst.vim | |
parent | 15aeea662e0b08088ac7b6e3ee661c834e69106a (diff) | |
download | vim-polyglot-4.1.2.tar.gz vim-polyglot-4.1.2.zip |
Updatev4.1.2
Diffstat (limited to 'syntax/rst.vim')
-rw-r--r-- | syntax/rst.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/rst.vim b/syntax/rst.vim index 0679a396..3b14d63f 100644 --- a/syntax/rst.vim +++ b/syntax/rst.vim @@ -175,7 +175,7 @@ syn match rstStandaloneHyperlink contains=@NoSpell \ "\<\%(\%(\%(https\=\|file\|ftp\|gopher\)://\|\%(mailto\|news\):\)[^[:space:]'\"<>]\+\|www[[:alnum:]_-]*\.[[:alnum:]_-]\+\.[^[:space:]'\"<>]\+\)[[:alnum:]/]" syn region rstCodeBlock contained matchgroup=rstDirective - \ start=+\%(sourcecode\|code\%(-block\)\=\)::\s*\n\%(\s*:.*:\s*.*\s*\n\)*\n\ze\z(\s\+\)+ + \ start=+\%(sourcecode\|code\%(-block\)\=\)::\s*\(\S*\)\?\s*\n\%(\s*:.*:\s*.*\s*\n\)*\n\ze\z(\s\+\)+ \ skip=+^$+ \ end=+^\z1\@!+ \ contains=@NoSpell |