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