1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 21:45:10 +01:00

markdown detection now works; remove conflicting configuration, fixing

having a sourcefile (like a Python file) suddenly marked as markdown when switching back from a markdown file
This commit is contained in:
2020-01-03 16:41:33 +01:00
parent ef567cce7a
commit 4fa9bc0531
2 changed files with 0 additions and 12 deletions

View File

@@ -1,6 +0,0 @@
" 2014-02-27 force certain files to be highlighted with Markdown syntax
augroup filetypedetect
autocmd BufNew,BufNewFile,BufRead *.txt,*.text,*.md,*.markdown :setfiletype markdown
augroup END
" 2014-02-28 this really fixes the filetype recognition
autocmd BufWinEnter *.{md,mkd,mkdn,mark*,txt,text} silent setf markdown

6
.vimrc
View File

@@ -398,12 +398,6 @@ Plug 'plasticboy/vim-markdown'
" Use filetype name as fenced code block languages for syntax highlighting " Use filetype name as fenced code block languages for syntax highlighting
let g:vim_markdown_fenced_languages = ['c++=cpp', 'viml=vim', 'bash=sh', 'ini=dosini', 'python=python'] let g:vim_markdown_fenced_languages = ['c++=cpp', 'viml=vim', 'bash=sh', 'ini=dosini', 'python=python']
if v:version >= 704
" Pandoc, for stuff like autocompletion of citations from bibtex, other LaTeX
" stuff. Works with vim >= 7.4
Plug 'vim-pandoc/vim-pandoc'
endif
" The NERD Commenter: A plugin that allows for easy commenting of code for " The NERD Commenter: A plugin that allows for easy commenting of code for
" many filetypes. " many filetypes.