mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-12 16:44:53 +02:00
parent
07ab201a27
commit
0a87d08dbd
@ -52,7 +52,7 @@ endfunction
|
|||||||
function! s:conflict_marker()
|
function! s:conflict_marker()
|
||||||
" Checks for git conflict markers
|
" Checks for git conflict markers
|
||||||
let annotation = '\%([0-9A-Za-z_.:]\+\)\?'
|
let annotation = '\%([0-9A-Za-z_.:]\+\)\?'
|
||||||
if &ft is# 'rst'
|
if match(['rst', 'markdown'], &ft) >= 0
|
||||||
" rst filetypes use '=======' as header
|
" rst filetypes use '=======' as header
|
||||||
let pattern = '^\%(\%(<\{7} '.annotation. '\)\|\%(>\{7\} '.annotation.'\)\)$'
|
let pattern = '^\%(\%(<\{7} '.annotation. '\)\|\%(>\{7\} '.annotation.'\)\)$'
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user