diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2019-08-24 20:36:34 +0200 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2019-08-24 20:36:34 +0200 |
| commit | b3287a74cb403576b87a99591dbbb2d6f1d367e1 (patch) | |
| tree | d76ff986fbf46b37c0ab540daad23642a2c3752d /rc/filetype/latex.kak | |
| parent | cb2647878b8aeaf43a49bb064e85a5e315f86bcd (diff) | |
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.
Diffstat (limited to 'rc/filetype/latex.kak')
| -rw-r--r-- | rc/filetype/latex.kak | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
