diff --git a/vim/.vimrc b/vim/.vimrc index c12bb0f..37287b7 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -60,3 +60,8 @@ let g:rustfmt_autosave = 0 autocmd FileType * setlocal indentexpr= set wildignore=*.o,*.obj,.git/**,tags,*.pyc + +" language specific makeprgs +autocmd FileType python setlocal makeprg=basedpyright expandtab +autocmd FileType csharp setlocal makeprg=dotnet expandtab +autocmd FileType yaml setlocal expandtab tabstop=2