Browse Source

Use prettier in php

master
Schneider 4 years ago
parent
commit
ba91c02252
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 6
      vim/ftplugin/php.vim

6
vim/ftplugin/php.vim

@ -1,6 +1,12 @@
let g:deoplete#ignore_sources = get(g:, 'deoplete#ignore_sources', {}) let g:deoplete#ignore_sources = get(g:, 'deoplete#ignore_sources', {})
let g:deoplete#ignore_sources.php = ['omni'] let g:deoplete#ignore_sources.php = ['omni']
let g:ale_php_phpstan_level = 'max' let g:ale_php_phpstan_level = 'max'
let g:ale_fixers={
\'javascript': ['prettier'],
\'json': ['prettier'],
\'php': ['prettier'],
\}
let g:ale_fix_on_save=1
" {{{ phpactor " {{{ phpactor
" Include use statement " Include use statement

Loading…
Cancel
Save