Update vim config

Added the vim-markdown plugin and fixed an issue where neovim would
prevent the terminal cursor from blinking after exiting from it.
This commit is contained in:
Donovan Glover 2018-04-09 17:28:36 -04:00
parent 6870b3c9e6
commit f5b307c9ac
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 13 additions and 1 deletions

View File

@ -48,4 +48,5 @@ call plug#begin('~/.vim/plugged') " Use vim-plug as our package manager of
Plug 'chrisbra/csv.vim' " Add CSV support
Plug 'Glench/Vim-Jinja2-Syntax' " Add Jinja2 support
Plug 'mustache/vim-mustache-handlebars' " Add mustache and handlebars support
Plug 'plasticboy/vim-markdown' " Add more markdown support (LaTeX, frontmatter, etc.)
call plug#end() " Start the plugins

View File

@ -130,4 +130,15 @@ autocmd BufNewFile,BufRead *.slang setlocal filetype=slim
" Use htmldjango for html files
" autocmd BufNewFile,BufRead *.html setlocal filetype=htmldjango
autocmd BufNewFile,BufRead *.html setlocal filetype=html
" autocmd BufNewFile,BufRead *.html setlocal filetype=html
autocmd BufNewFile,BufRead *.html setlocal filetype=jinja
" Disable vim-markdown folding
let g:vim_markdown_folding_disabled = 1
let g:vim_markdown_math = 1
let g:vim_markdown_frontmatter = 1
autocmd BufNewFile,BufRead *.md set conceallevel=2
" au BufNewFile,BufRead,BufWrite *.md syntax match Comment /\%^---\_.\{-}---$/
" Change cursor back to blink after exiting neovim
au VimLeave * set guicursor=a:block-blinkon1