rc latex: Highlight .cls files as LaTeX

When .cls files are opened, the local `filetype` option is automatically
set to `tex`, which isn't supported.
This commit is contained in:
Frank LENORMAND 2019-08-24 20:36:34 +02:00
parent cb2647878b
commit b3287a74cb

View File

@ -4,7 +4,7 @@
# Detection
# ‾‾‾‾‾‾‾‾‾
hook global BufCreate .*\.tex %{
hook global BufCreate .*\.(tex|cls) %{
set-option buffer filetype latex
}