PHPCS formatting
This commit is contained in:
parent
f646212abc
commit
6394f79f40
1 changed files with 9 additions and 2 deletions
|
@ -430,10 +430,17 @@ set statusline+=\ %{SyntasticStatuslineFlag()} " syntastic errors
|
||||||
" signs in my gutter, but having signs on is the only way to add the
|
" signs in my gutter, but having signs on is the only way to add the
|
||||||
" line styles I need to colour my lines red. I need to split these out.
|
" line styles I need to colour my lines red. I need to split these out.
|
||||||
let g:syntastic_enable_signs = 1
|
let g:syntastic_enable_signs = 1
|
||||||
let g:syntastic_javascript_checkers = ['eslint']
|
|
||||||
let g:systastic_xml_checkers = ['xmllint']
|
|
||||||
let g:syntastic_stl_format='[%t errors, first: %F]'
|
let g:syntastic_stl_format='[%t errors, first: %F]'
|
||||||
|
|
||||||
|
let g:syntastic_javascript_checkers = ['eslint']
|
||||||
|
|
||||||
|
let g:systastic_xml_checkers = ['xmllint']
|
||||||
|
|
||||||
|
let g:syntastic_php_checkers = ['phpcs']
|
||||||
|
let g:syntastic_php_phpcs_exec = './vendor/bin/phpcs'
|
||||||
|
let g:syntastic_php_phpcs_args = '--standard=PSR2'
|
||||||
|
|
||||||
|
|
||||||
" Copy visual selection to clipboard.
|
" Copy visual selection to clipboard.
|
||||||
noremap <leader>y "*y
|
noremap <leader>y "*y
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue