-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect more TeX-related filetypes #2163
Comments
I believe this may suffice. Please test. I'm not 100% sure if it is a good idea to override the builtin conditional for cls filetype detection. I don't know and use smalltalk, and so I don't know how likely it is for this change to lead to unexpected behaviour... |
Looks good!
I don't, either; I guess we'll find out whether the intersection of TeX writers and smalltalk programmers is nonempty... |
Hehe, yes; let's take the risk. If there are objections, then I'll probably revert this change. In the meantime, I'll close this issue. :) |
In my case I see a conflict with Visual Basic class files which also share the extension .cls. |
Let's have the discussion at #2226. |
Now that VimTeX is a full-featured filetype plugin, it would be nice if it triggered for (more) TeX-related filetypes.
Off the top of my head:
*.cls
: that is recognized byftplugin.vim
, but only if the first line starts with a%
(otherwise the filetype is set tost
); if you have VimTeX installed, chances are good that your.cls
files are LaTeX class files...*.tikz
(see Add .tikz file completion for \input #2162)The text was updated successfully, but these errors were encountered: