1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 15:21:30 +01:00

vim: ale: add arduino config

This commit is contained in:
bretello 2023-09-14 23:55:29 +02:00
parent 1ccb61013d
commit 0e5f23e864
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -25,7 +25,11 @@ let g:ale_fixers = {
\ 'javascript': ['prettier', 'eslint'],
\ 'vue': ['prettier', 'eslint'],
\}
let g:ale_fixers_aliases = {'vue': ['vue', 'javascript']}
let g:ale_fixers_aliases = {'vue': ['vue', 'javascript'], 'arduino': 'cpp'}
let g:ale_arduino_ccls_executable = 'ccls'
let g:ale_arduino_ccls_init_options = {}
let g:ale_popup_menu_enabled = 1
let g:ale_python_bandit_options = '-c banditrc'
let g:ale_python_pylint_options = '-j0 --disable=W0511'
@ -54,7 +58,7 @@ let g:ale_linters = {
\ 'vue': ['volar', 'eslint']
\}
let g:ale_linter_aliases = {'vue': ['vue', 'javascript']}
let g:ale_linter_aliases = {'vue': ['vue', 'javascript'], 'arduino': 'cpp'}
" disable gradle signs/loclist as they conflict with ALE (vim-android)
let g:gradle_loclist_show = 0