Pin versions of local tools.

This commit is contained in:
Jonathan Bernard 2024-08-12 13:18:37 -05:00
parent 8cbdad0e21
commit dd384f2b53
2 changed files with 25 additions and 0 deletions

24
.lvimrc Normal file
View File

@ -0,0 +1,24 @@
" 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

View File

@ -1 +1,2 @@
opentofu 1.8.1
nim 1.6.20