Cleanup ale configuration file
Remove old commented out blocks. Remove unnecessary function and call, just set the option.
This commit is contained in:
parent
003b6be119
commit
3f76453f79
|
@ -9,28 +9,6 @@ let g:ale_cursor_detail = 0
|
|||
let g:ale_virtualtext_cursor = 1
|
||||
let g:ale_virtualtext_prefix = "! "
|
||||
|
||||
" Does not work with 3.0.0 and newer, due to:
|
||||
" nvim/bundle/ale/autoload/ale/linter.vim
|
||||
" for l:linter in reverse(l:possibly_duplicated_linters)
|
||||
" if index(l:name_list, l:linter.name) < 0
|
||||
" call add(l:name_list, l:linter.name)
|
||||
" call add(l:combined_linters, l:linter)
|
||||
" endif
|
||||
" endfor
|
||||
" let g:ale_pattern_options = {
|
||||
" \ '\.tsconfig$': {
|
||||
" \ 'ale_enabled': 0
|
||||
" \ },
|
||||
" \ '\.typoscript$': {
|
||||
" \ 'ale_enabled': 0
|
||||
" \ }
|
||||
" \ }
|
||||
|
||||
function! DSConfigurePhpStan()
|
||||
let g:ale_php_phpstan_executable = 'vendor/bin/phpstan'
|
||||
endfunction
|
||||
call DSConfigurePhpStan()
|
||||
|
||||
" Do not lint when open a file
|
||||
let g:ale_lint_on_enter = 0
|
||||
" Do not lint when chaning file type
|
||||
|
@ -44,8 +22,7 @@ let g:ale_lint_on_text_changed = 'never'
|
|||
" Configure signs to use
|
||||
let g:ale_sign_error = '>'
|
||||
let g:ale_sign_warning = '!'
|
||||
" let g:ale_sign_info = '-'
|
||||
" let g:ale_sign_style_error = '>'
|
||||
" let g:ale_sign_style_warning = '!'
|
||||
|
||||
let g:ale_php_phpcs_standard = 'PSR12'
|
||||
|
||||
let g:ale_php_phpstan_executable = 'vendor/bin/phpstan'
|
||||
|
|
Loading…
Reference in a new issue