set makeprg to jsut in vim as well

This commit is contained in:
2026-04-01 13:43:40 +02:00
parent 5293430431
commit 6de21b3ec6
+1 -3
View File
@@ -7,7 +7,6 @@ nnoremap ,ct :!ctags -R .<CR>
nnoremap ,rc :source $MYVIMRC<CR>
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]'))<CR>
@@ -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-w>c <c-\><c-n><c-w>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