From ffb080ca7f2436fac53137af39408252d23f2891 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 20 Jun 2021 15:14:57 +0100 Subject: [PATCH] Add markdown support --- init.vim | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/init.vim b/init.vim index f4f1077..1a9d1e0 100644 --- a/init.vim +++ b/init.vim @@ -7,6 +7,8 @@ if ! filereadable(system('echo -n "${XDG_CONFIG_HOME:-$HOME/.config}/nvim/autolo autocmd VimEnter * PlugInstall endif +let g:polyglot_disabled = ['markdown'] + call plug#begin(stdpath('data') . '/plugged') Plug 'rafi/awesome-vim-colorschemes' Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } @@ -18,7 +20,9 @@ Plug 'jiangmiao/auto-pairs' Plug 'pangloss/vim-javascript' Plug 'mattn/emmet-vim' Plug 'dylanaraps/wal.vim' -"Plug 'sheerun/vim-polyglot' +Plug 'godlygeek/tabular' +Plug 'plasticboy/vim-markdown' +Plug 'sheerun/vim-polyglot' "Plug 'phpactor/phpactor', { 'do': 'composer install', 'for': 'php' } "Plug 'ncm2/ncm2' @@ -51,6 +55,7 @@ set undodir=/tmp// "Store undo history in the /tmp directory set undofile "Store the undo history "set spell "Enable spell checking set autowriteall "Save the file when switching buffers +set colorcolumn=80,120 "}}} " Visuals ---- {{{ @@ -151,6 +156,10 @@ function ToggleEmmet() endif endfunction nnoremap em :call ToggleEmmet() + +" Conceal markdown text +set conceallevel=3 + " }}} " Moving around --- {{{