3 ms·
This makes sense. I recently learned that VSCode is clever enough to automatically disable some features (which includes syntax highlighting among I guess other
by j1elo 2y ago
This makes sense. I recently learned that VSCode is clever enough to automatically disable some features (which includes syntax highlighting among I guess other things) when it detects that the file is too big according to some heuristics (like probably, length of the longest line, or maybe just total size of the file).
So IMO I think vim is being "too dumb" here and should be able to adapt like VSCode does. But, meanwhile, if you want to test under equal conditions, you can disable VSCode's optimization by disabling this setting:
Editor: Large File Optimizations
Or directly in settings.json:
"editor.largeFileOptimizations": false
- maccard 2y ago> But, meanwhile, if you want to test under equal conditions, you can disable VSCode's optimization by disabling this setting: Disabling the advantages of one application vs another is just kneecapping the superior editor IMO.