disable STUPID default filetype plugins

The STUPID default rust plugin overwrites makeprg, which I have
specifically set to what I want it to be forever
This commit is contained in:
Ivar Fatland
2026-04-26 12:23:24 +02:00
parent 5f29c8aebb
commit 85bd7dfae3
+2 -1
View File
@@ -122,7 +122,8 @@ vim.cmd [=[
autocmd TextYankPost * silent! lua vim.highlight.on_yank {higroup='Visual', timeout=100} autocmd TextYankPost * silent! lua vim.highlight.on_yank {higroup='Visual', timeout=100}
autocmd BufEnter *__virtual* setlocal buftype=nofile bufhidden=hide noswapfile autocmd BufEnter *__virtual* setlocal buftype=nofile bufhidden=hide noswapfile
let g:rustfmt_autosave = 0 " Disable STUPID default rust plugin. And others
filetype plugin off
" remove annoying and bad indentation " remove annoying and bad indentation
autocmd FileType * setlocal indentexpr= autocmd FileType * setlocal indentexpr=