My vim configuration
git clone https://github.com/m-col/vim-misc
Files | Refs | Readme

Commit 27b8903c869bec0ba55b6e8708dffe52ee33b09b
Parent: 9baeb912407cd9291f75fd55aac77b32f7e329de
Author: mcol <mcol@posteo.net>
Date: 2025-05-13 16:58:22 +0100
Committer: Matt Colligan <mlv@posteo.net>
Committed: 2025-05-13 17:03:36 +0100

more typescript and ale stuff

start/self/plugin/settings.vim Modified

@@ -45,6 +45,7 @@
 set wildmode=full:list		" format wildmenu to expand and scroll with tab
 
 set autochdir			" cwd to current file
+set updatetime=500		" update time for swap files (unused) and e.g. ALE hover
 
 let g:netrw_liststyle=0		" Set netrw style to thin listing
 
@@ -81,6 +82,7 @@
 \   'haskell': ['hlint'],
 \   'python': ['flake8', 'pyright', 'ruff'],
 \   'typescriptreact': ['tsserver', 'eslint'],
+\   'typescript': ['tsserver', 'eslint'],
 \}
 " Don't show errors in virtual text or signs column; rely on echoed message instead
 let g:ale_virtualtext_cursor = 0
@@ -90,8 +92,10 @@
 \   'haskell': ['ormolu'],
 \   'python': ['black', 'ruff'],
 \   'typescriptreact': ['eslint'],
+\   'typescript': ['eslint'],
 \}
 "\   'markdown': ['prettier'],
+let g:ale_echo_cursor = 1
 
 let g:vim_markdown_conceal = 0
 let g:vim_markdown_conceal_code_blocks = 0