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:
@@ -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
6
.vimrc
@@ -398,12 +398,6 @@ Plug 'plasticboy/vim-markdown'
|
||||
" 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']
|
||||
|
||||
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
|
||||
" many filetypes.
|
||||
|
||||
Reference in New Issue
Block a user