From b3287a74cb403576b87a99591dbbb2d6f1d367e1 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Sat, 24 Aug 2019 20:36:34 +0200 Subject: [PATCH] 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. --- rc/filetype/latex.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/latex.kak b/rc/filetype/latex.kak index 5ed0866b..00250e15 100644 --- a/rc/filetype/latex.kak +++ b/rc/filetype/latex.kak @@ -4,7 +4,7 @@ # Detection # ‾‾‾‾‾‾‾‾‾ -hook global BufCreate .*\.tex %{ +hook global BufCreate .*\.(tex|cls) %{ set-option buffer filetype latex }