hff-entry-forms/.lvimrc

25 lines
683 B
Plaintext
Raw Normal View History

2024-08-12 18:18:37 +00:00
" The below configuration depends on global versions of some of these tools.
" All tooling can be installed with the following:
"
" asdf local nodejs latest
" npm install -g typescript prettier eslint vue-tsc
"
let g:ale_fixers = {
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
\ 'javascript': ['eslint', 'prettier'],
\ 'typescript': ['prettier'],
\ 'vue': ['prettier'],
\}
let g:ale_linters = {
\ 'markdown': [],
\ 'html': ['HTMLHint', 'proselint', 'write-good'],
\ 'rst': [],
\ 'typescript': ['typescript', 'eslint'],
\ 'javascript': ['eslint'],
\ 'vue': ['vuetsc', 'prettier'],
\}
let g:ale_fix_on_save = 1
"let g:ale_linters_explicit = 1