Detect .mll and .mly files as OCaml sources
This commit is contained in:
parent
12310418b0
commit
8fb0a99f05
|
@ -4,7 +4,7 @@
|
||||||
# Detection
|
# Detection
|
||||||
# ‾‾‾‾‾‾‾‾‾
|
# ‾‾‾‾‾‾‾‾‾
|
||||||
|
|
||||||
hook global BufCreate .*\.mli? %{
|
hook global BufCreate .*\.(ml|mli|mll|mly)$ %{
|
||||||
set-option buffer filetype ocaml
|
set-option buffer filetype ocaml
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user