💻 Software
Vim Color Scheme for specific filetype
Fresh5 days ago
Mar 15, 20263928 viewsConfidence Score0%
0%
Problem
Is it possible to setup a specific colorscheme for a specific filetype in a vimrc file? PlainBoringWhite for .txt SomethingDarkBackdround for .c or .rb
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Vim Color Scheme for specific filetype
Low Risk
As @Rein mentioned, you can use autocommand to achieve what you want. Add something like this to your .vimrc file:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix