From 6de21b3ec6f0bc64434dc1ffd68de620881b1bc9 Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Wed, 1 Apr 2026 13:43:40 +0200 Subject: [PATCH] set makeprg to jsut in vim as well --- vim/.vimrc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index 5cd7e47..dcc025d 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -7,7 +7,6 @@ nnoremap ,ct :!ctags -R . nnoremap ,rc :source $MYVIMRC autocmd FileType make setlocal noexpandtab -autocmd FileType python setlocal makeprg=basedpyright autocmd FileType yaml setlocal tabstop=2 let g:rustfmt_autosave = 0 nnoremap ,cD :call setqflist(filter(getqflist(), 'v:val != getqflist()[getqflist({"idx": 0}).idx - 1]')) @@ -64,6 +63,7 @@ set viewoptions=folds,cursor set wildignore=*.o,*.obj,.git/**,tags,*.pyc set noswapfile set ignorecase +set makeprg=just syntax on tnoremap c c xnoremap H ^ @@ -102,13 +102,11 @@ nnoremap 'Y 'Y'" nnoremap 'Z 'Z'" -au FileType cs setlocal makeprg=dotnet errorformat=\ %#%f(%l\\,%c):\ error\ CS%n:\ %m au BufEnter *__virtual* setlocal buftype=nofile bufhidden=hide noswapfile au BufNewFile,BufRead *.h set filetype=c au BufWinEnter *.* silent! loadview au BufWinLeave *.* silent! mkview au FileType * setlocal indentexpr= -au FileType go setlocal makeprg=go noexpandtab au FileType lua setlocal noexpandtab au FileType c setlocal noexpandtab augroup GoCtags