Configure prettier
parent
813d76e9de
commit
5c5824f10b
4
.vimrc
4
.vimrc
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue