mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-24 16:15:38 +03:00
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