Treat R Markdown the same as Markdown

This commit is contained in:
amarakon
2022-09-30 23:14:43 -04:00
committed by Christian Brabandt
parent 8e989201c8
commit 84823e5e7d
3 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ endfunction
function! s:conflict_marker()
" Checks for git conflict markers
let annotation = '\%([0-9A-Za-z_.:]\+\)\?'
if match(['rst', 'markdown'], &ft) >= 0
if match(['rst', 'markdown', 'rmd'], &ft) >= 0
" rst filetypes use '=======' as header
let pattern = '^\%(\%(<\{7} '.annotation. '\)\|\%(>\{7\} '.annotation.'\)\)$'
else