From 813d76e9de4d08fdf6f93d135a184072bb8e90b8 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 16 Feb 2020 12:22:47 +0000 Subject: [PATCH] Add prettier --- .vim/plugged/vim-prettier | 1 + .vimrc | 3 +++ 2 files changed, 4 insertions(+) create mode 160000 .vim/plugged/vim-prettier diff --git a/.vim/plugged/vim-prettier b/.vim/plugged/vim-prettier new file mode 160000 index 0000000..0591cbc --- /dev/null +++ b/.vim/plugged/vim-prettier @@ -0,0 +1 @@ +Subproject commit 0591cbc23ded66ce0b4f14f58ea7c6bb82438305 diff --git a/.vimrc b/.vimrc index 24bcd1d..6613cdc 100644 --- a/.vimrc +++ b/.vimrc @@ -55,6 +55,9 @@ Plug 'junegunn/fzf.vim' Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'leafgarland/typescript-vim' Plug 'peitalin/vim-jsx-typescript' +Plug 'prettier/vim-prettier', { + \ 'do': 'yarn install', + \ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'yaml', 'html'] } call plug#end() " NERDTree