Ragtag initializes only for certain file types so disable lazy load of
ragtag by vim-plug. Since markdown is not in this list explicitly call
RagtagInit().
Also disable the old <C-_> shortcut and use ragtag's <C-X>/ instead.
let g:vim_markdown_frontmatter=1
let g:vim_markdown_math=1
+au FileType markdown call RagtagInit()
+
let g:guesslang_langs=[ 'en_US', 'de_AT']
au FileType text,markdown,mail,tex,gitcommit,mediawiki setlocal spell
au BufReadPost * :DetectIndent
au Filetype c,cpp,objc map <buffer> <S-F11> :FSHere<CR>
au BufNewFile *.{h,hpp,hxx} call AddIncludeGuards()
-au Filetype html,xml imap <buffer> <C-_> <C-X>/
au Filetype markdown map <buffer> <F5> :call RunPandoc()<CR>
" Start interactive EasyAlign in visual mode (e.g. vipga)
Plug 'hail2u/vim-css3-syntax', {'for': ['scss', 'css']}
Plug 'ap/vim-css-color', {'for': ['scss', 'css']}
-Plug 'tpope/vim-ragtag', {'for': ['html', 'xml']}
+Plug 'tpope/vim-ragtag'
Plug 'lervag/vimtex', {'for': 'tex'}