Add markdown support
This commit is contained in:
11
init.vim
11
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 <Leader>em :call ToggleEmmet()<cr>
|
||||
|
||||
" Conceal markdown text
|
||||
set conceallevel=3
|
||||
|
||||
" }}}
|
||||
|
||||
" Moving around --- {{{
|
||||
|
||||
Reference in New Issue
Block a user