From 5c5824f10bf4c92df1faccd92d5d1487a1f9eeb5 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 16 Feb 2020 12:37:24 +0000 Subject: [PATCH] Configure prettier --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index 6613cdc..a1daa5c 100644 --- a/.vimrc +++ b/.vimrc @@ -69,6 +69,10 @@ let g:NERDTreeStatusline = '' " fzf - use silversearcher-ag to respect .gitignore let $FZF_DEFAULT_COMMAND = 'ag -g ""' +" prettier +let g:prettier#quickfix_enabled = 0 +autocmd TextChanged,InsertLeave *.js,*.jsx,*.mjs,*.ts,*.tsx,*.css,*.less,*.scss,*.json,*.graphql,*.md,*.vue,*.yaml,*.html PrettierAsync + " plugin keybindings nnoremap :NERDTreeToggle nnoremap :FZF