commit 4f840311cbf689373238bfb283ed8f8205516213
parent 2de93fa8140a984519a6e12c6e5ad1ef7bb3eae3
Author: Alex Balgavy <alex@balgavy.eu>
Date: Tue, 1 Mar 2022 17:05:09 +0100
vim: enable emmet in markdown
Diffstat:
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -20,7 +20,7 @@ Plug 'guns/xterm-color-table.vim'
Plug 'tpope/vim-commentary'
" Faster HTML
-Plug 'mattn/emmet-vim', { 'for': ['html', 'css'] }
+Plug 'mattn/emmet-vim', { 'for': ['html', 'css', 'markdown'] }
" Endwise - smart do-end, if-fi, if-end, case-esac, etc.
Plug 'tpope/vim-endwise'
@@ -482,6 +482,13 @@ endfunction
let g:indentLine_char_list = ['|', '¦', '┆', '┊']
let g:indentLine_enable = 0 " off by default
let g:indentLine_fileType = ['python'] " enable for python
+" Emmet {{{3
+let g:user_emmet_settings = {
+ \ 'markdown': {
+ \ 'indentation': '',
+ \ 'extends': 'html'
+ \ }
+ \ }
" }}}1
" General {{{1
" Put viminfo in ~/.cache