Editor: Set Large-File Line Threshold
editor.setLargeFileThreshold Set the line count above which the minimap and language server auto-disable for a file.
How to run it
Open the command palette (M-x in the Emacs keymap) and search for Editor: Set Large-File Line Threshold, then press Enter. It has no default keybinding, but you can bind one in Settings → Keymaps.