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:
parent
cb2647878b
commit
b3287a74cb
|
@ -4,7 +4,7 @@
|
|||
# Detection
|
||||
# ‾‾‾‾‾‾‾‾‾
|
||||
|
||||
hook global BufCreate .*\.tex %{
|
||||
hook global BufCreate .*\.(tex|cls) %{
|
||||
set-option buffer filetype latex
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user