vim and TeX filetypes: plaintex vs. tex
Fresh3 days ago
Mar 15, 202610348 viewsConfidence Score0%
0%
Problem
I open files with Vim, but some files are recognized as and others as . Why is this? What is the trigger that recognizes the file as tex, which has the highlighting I want?
Error Output
.tex
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: vim and TeX filetypes: plaintex vs. tex
Low Risk
Why are some files opened in Vim as and others as ? Since the same extension, in this case, is used for multiple filetypes, "Vim tries to guess what kind of file it is" according to the Vim filetype-overrule documentation. The ft-tex-plugin section …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix