diff --git a/.lvimrc b/.lvimrc new file mode 100644 index 0000000..6e9fdf8 --- /dev/null +++ b/.lvimrc @@ -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 diff --git a/.tool-versions b/.tool-versions index bab318a..0fd4d22 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1,2 @@ opentofu 1.8.1 +nim 1.6.20