Configure prettier

master
Hektor Misplon 2020-02-16 12:37:24 +00:00
parent 813d76e9de
commit 5c5824f10b
1 changed files with 4 additions and 0 deletions

4
.vimrc
View File

@ -69,6 +69,10 @@ let g:NERDTreeStatusline = ''
" fzf - use silversearcher-ag to respect .gitignore " fzf - use silversearcher-ag to respect .gitignore
let $FZF_DEFAULT_COMMAND = 'ag -g ""' 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 " plugin keybindings
nnoremap <silent> <C-b> :NERDTreeToggle<CR> nnoremap <silent> <C-b> :NERDTreeToggle<CR>
nnoremap <C-p> :FZF<CR> nnoremap <C-p> :FZF<CR>