Pin versions of local tools.
This commit is contained in:
parent
8cbdad0e21
commit
dd384f2b53
24
.lvimrc
Normal file
24
.lvimrc
Normal 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
|
@ -1 +1,2 @@
|
|||||||
opentofu 1.8.1
|
opentofu 1.8.1
|
||||||
|
nim 1.6.20
|
||||||
|
Loading…
Reference in New Issue
Block a user