Added black

This commit is contained in:
Marcin Woźniak 2021-04-07 13:33:11 +02:00
parent 109db07d4b
commit 317e4ecd81
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{
"python.formatting.provider": "black",
"coc.preferences.formatOnSaveFiletypes": [
"sh",
"yaml",

View File

@ -43,7 +43,7 @@ call plug#begin('~/.config/nvim/plugged')
Plug 'neoclide/coc-solargraph', {'do': 'gem install solargraph'}
" coc for python
Plug 'fannheyward/coc-pyright', {'do': 'yarn install --frozen-lockfile; npm i -D npx-run; pip install --user jedi'}
Plug 'fannheyward/coc-pyright', {'do': 'yarn install --frozen-lockfile; npm i -D npx-run; pip install --user jedi; pip install --user black'}
" coc for yaml
Plug 'neoclide/coc-yaml', {'do': 'yarn install --frozen-lockfile'}