This commit is contained in:
2025-10-04 20:00:07 +02:00
parent 715a2d4949
commit 3510afefa7
+8 -3
View File
@@ -5,6 +5,7 @@ if has('clipboard')
endif endif
set tabstop=4 set tabstop=4
set shiftwidth=0 set shiftwidth=0
set expandtab
set rnu set rnu
set nu set nu
set nowrap set nowrap
@@ -62,7 +63,11 @@ autocmd FileType * setlocal indentexpr=
set wildignore=*.o,*.obj,.git/**,tags,*.pyc set wildignore=*.o,*.obj,.git/**,tags,*.pyc
" for c tests
set errorformat^=[----]\ %f:%l:\ %m
" language specific makeprgs " language specific makeprgs
autocmd FileType python setlocal makeprg=basedpyright expandtab autocmd FileType python setlocal makeprg=basedpyright
autocmd FileType csharp setlocal makeprg=dotnet expandtab autocmd FileType go setlocal makeprg=go noexpandtab
autocmd FileType yaml setlocal expandtab tabstop=2 autocmd FileType csharp setlocal makeprg=dotnet
autocmd FileType yaml setlocal tabstop=2