From 3510afefa7c31635f1595b3c25816a6d5612ae21 Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Sat, 4 Oct 2025 20:00:07 +0200 Subject: [PATCH] latest --- vim/.vimrc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index 52b254f..c884c85 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -5,6 +5,7 @@ if has('clipboard') endif set tabstop=4 set shiftwidth=0 +set expandtab set rnu set nu set nowrap @@ -62,7 +63,11 @@ autocmd FileType * setlocal indentexpr= set wildignore=*.o,*.obj,.git/**,tags,*.pyc +" for c tests +set errorformat^=[----]\ %f:%l:\ %m + " language specific makeprgs -autocmd FileType python setlocal makeprg=basedpyright expandtab -autocmd FileType csharp setlocal makeprg=dotnet expandtab -autocmd FileType yaml setlocal expandtab tabstop=2 +autocmd FileType python setlocal makeprg=basedpyright +autocmd FileType go setlocal makeprg=go noexpandtab +autocmd FileType csharp setlocal makeprg=dotnet +autocmd FileType yaml setlocal tabstop=2