Commit c151f33d authored by Adam Monsen's avatar Adam Monsen

vimrc: use vim-markdown plugin

* better syntax highlighting
* conceallevel is nice
* I might even use the provided mappings
parent 638a5137
......@@ -33,6 +33,8 @@ Plugin 'vim-scripts/nginx.vim'
Plugin 'docker/docker', {'rtp': '/contrib/syntax/vim/'}
Plugin 'fatih/vim-go'
Plugin 'mbbill/undotree'
Plugin 'godlygeek/tabular'
Plugin 'plasticboy/vim-markdown'
" Fix leader for VimOutliner files. Not sure why this is necessary.
let maplocalleader=",,"
......@@ -479,9 +481,8 @@ endfunction
autocmd BufNewFile,BufRead *.md,*.markdown set filetype=markdown
autocmd FileType markdown call <SID>MarkdownFileSettings()
function s:MarkdownFileSettings()
set conceallevel=2
set makeprg=mdfmt\ %
set linebreak
set spell
autocmd BufWritePost *.md,*.markdown silent make
match todo /FIXME\|TODO/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment