From 8fb0a99f059ba2d2d9880cb947c9961b28c609e3 Mon Sep 17 00:00:00 2001 From: Masanori Ogino <167209+omasanori@users.noreply.github.com> Date: Wed, 26 Jul 2023 06:52:09 +0900 Subject: [PATCH] Detect .mll and .mly files as OCaml sources --- rc/filetype/ocaml.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/ocaml.kak b/rc/filetype/ocaml.kak index 2968ec79..f41111c5 100644 --- a/rc/filetype/ocaml.kak +++ b/rc/filetype/ocaml.kak @@ -4,7 +4,7 @@ # Detection # ‾‾‾‾‾‾‾‾‾ -hook global BufCreate .*\.mli? %{ +hook global BufCreate .*\.(ml|mli|mll|mly)$ %{ set-option buffer filetype ocaml }